Page 1 of 1

GlobalContentPreCompile doesn't work

Posted: Sun Oct 28, 2007 12:04 am
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

Re: GlobalContentPreCompile doesn't work

Posted: Sun Oct 28, 2007 11:06 am
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.