[solved] How to show content only on some pages
Posted: Wed May 07, 2008 10:28 pm
Hello,
I want to show some html that I did only on the Home page, so I did this tag {meuphp} that do this:
if ($node->menutext == 'home') echo "html code"; else echo "";
But when I enter index.php?page=home the html code is not showing =/ why ? I already tried $page and $node instead of $node->menutext
Help please.
I want to show some html that I did only on the Home page, so I did this tag {meuphp} that do this:
if ($node->menutext == 'home') echo "html code"; else echo "";
But when I enter index.php?page=home the html code is not showing =/ why ? I already tried $page and $node instead of $node->menutext
Help please.