2012-08-19, 09:08 AM
Hi guys, just a quick question:
I'm using this:
It works when I place
in the global_start function, but not when I put it in the _activate() function.
The problem is, when I put it in the global_start function and click "Log out" I receive this error:
http://i.imm.io/B93N.png
Thanks
I'm using this:
find_replace_templatesets('header', '#{\$board_messages}#', "{\$board_messages}\n{\$somebutton}");
eval("\$somebutton = \"".$templates->get("sometemplate")."\";");
output_page($somebutton);
It works when I place
eval("\$somebutton = \"".$templates->get("sometemplate")."\";");
output_page($somebutton);
in the global_start function, but not when I put it in the _activate() function.
The problem is, when I put it in the global_start function and click "Log out" I receive this error:
http://i.imm.io/B93N.png
Thanks