Quote:
Originally posted by Logician
I see.. the reason we applied the hack to index.php in that post is because the variable ($allpm) used in the announcement is being assigned a value in index.php. So if you use this announcement in another template which is called in an other .php file but index.php $allpm variable will have no value, thus conditional will prove always FALSE.. To make it run in other templates, you have to hack the .php file where that template is called and assign a value for $allpm variable..
|
Ok, I see. Then we either use it one place or the other. I supposed I can use the dynamic templates for the other areas of the site that I can't reach with this if I put it in the index.php.