Hey,
I hope someone can help me. The following is part of my phpinclude_start;
PHP Code:
$page_menu = '<if condition="$show['registerbutton']">
<li><a href="">register</a></li>
</if>';
Then I place the $page_menu script into my header template. Without the if statement, this works fine, and the register link is displayed. But, when I place the if statement in there, it refuses to display the link, and it's nowhere to be seen in the source code either.
It's mandatory that this be in the phpinclude_start, and nowhere else. The reason for this is because I'm using case statements to display different links on different pages.
So my question is, how do I get conditions to work in the phpinclude_start?
Please note, stripping the slashes doesn't work, I've already tried. Thanks in advance.