Hi all,
My plug-in hooks into showthread_start, it needs to assign a variable like $my_variable to headerinclude template.
I do an eval('$my_variable = "123";') but it does not work: the variable $my_variable has been already placed into headerinclude but it shows nothing.
Please help!
I've found a solution myself, I've used the hook global_start instead of showthread_start
My plug-in hooks into showthread_start, it needs to assign a variable like $my_variable to headerinclude template.
I do an eval('$my_variable = "123";') but it does not work: the variable $my_variable has been already placed into headerinclude but it shows nothing.
Please help!
I've found a solution myself, I've used the hook global_start instead of showthread_start