Log in

View Full Version : data not showing in templates...


diesel08
08-20-2005, 12:23 PM
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?

sabret00the
08-20-2005, 12:37 PM
to answer the question it sounds like you're putting the call to the template above that of variable declaration.

DeMiNe0
08-20-2005, 12:39 PM
This is also the wrong from to put this in.

Try using the phpinclude templates instead (vb 3.0 only) or the global_start plugin hook (3.5 only)