Access to $thread array in ad_footer_end
Hello,
I am trying to access the $thread variable array in the ad_footer_end template to create some content related advertisement based on the taglist of that thread.
Unfortunately the variable is not available in that template and I do not know enough to 'fix' this.
Any help is appreciated.
Regards,
Taco
--------------- Added [DATE]1230044019[/DATE] at [TIME]1230044019[/TIME] ---------------
I finally figured it out myself. Unfortunately the ad_footer_end template is evaluated in global.php, long before the $thread value is filled.
I have created a plugin that re-evaluates the respective templates to include the output.
|