Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
to see when these events are sent by CMS Made Simple and have assigned the UDT to the events. However, they seem not to be executed at all. Are they deprecated?
These events are still triggered each time a template is 'compiled' from smarty code into php code.
It is executed for every page template (3 times.. once for the body, head, and top of the tempalte), for each module template, and for each GCB that is called on a particular page.
Compilation happens each time a template is changed. On a cache-able page, if all you do is change a GCB that is used on that page and hit 'reload' on a page the TemplatePreCompile event would be triggered once just for that GCB, and the TemplatePostCompile event would be triggered once.
Theoretically (and I'd have to double check this functionality) if after that you 'reloaded' a page the event would not trigger at all. Because the templates are already 'compiled'.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
-------------------- If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.