Blesta Addons Posted September 13, 2018 Report Posted September 13, 2018 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. Quote
Blesta Addons Posted September 13, 2018 Author Report Posted September 13, 2018 i have found this similar request here Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.