Jump to content

Recommended Posts

Posted

the plugins can set vars for the used template file when they are visited. it would be very smarty to allow plugin inject vars for the structure file (main structure) without visiting the plugin.

let say we have a plugin data collect some info/stats, and inject it directly to the structure file (like preAction.structure event inject HTML/Javascript), then from structure template we can use this info in structure file. i hope the idea is clear (new preAction.global event inject vars to the structure ).

sample case, i have a plugin that count how many tickets assigned to the logged staff, in my structure i want to show this data close to the info menu.


 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...