PDA

View Full Version : variable data not showing in template...


diesel08
08-20-2005, 05:59 AM
Hi...
if i put this in index.php

$topfive = "hello";

then... put $topfive in the FORUMHOME template... it works on the page..

BUT!

if i put $topfive inside the template forumhome_forumbit_level2_post nothing shows at all..

do i have to take the $topfive out of index.php and put it somewhere else.. or change another thing?

Princeton
08-20-2005, 06:16 PM
try adding the variable to the construct_forum_bit function found in includes/functions_forumlist.php

diesel08
08-21-2005, 06:59 AM
magic!


thanks champ :)


just from an efficency perspective, is this function only run for display on forumhome or is it used in all forum generation..