GlobalContentPreCompile doesn't work

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
Post Reply
Sonya

GlobalContentPreCompile doesn't work

Post by Sonya »

Hello,

I use 1.1.3.1 "Apia" and try to add some code to the event "GlobalContentPreCompile". Nothing happens. My last attempt was to create a user-defined tag with

Code: Select all

print_r($params['global_content']);
exit;
and to add it to the event (I know it doesn't make sense, but I just wanted to test it). The code is not executed. I have defined  global content and also placed it in my templates. Can you please check for me if it works on your installation?

Thank you,
Sonya
Last edited by Sonya on Sun Oct 28, 2007 12:06 am, edited 1 time in total.
Sonya

Re: GlobalContentPreCompile doesn't work

Post by Sonya »

I have tryed it a little bit longer then deleted the user-defined tag completely and then the code was executed although it was not there at all. I think it's something about smarty cache. Is global content cached by default?

Next question :) Is there an event which is executed before "GlobalContentPreCompile"? Which event is the "first one" in the Core Module?

Thank you.
Post Reply

Return to “Developers Discussion”