Log in

View Full Version : Not working in header? <if condition="$show['member']">


James_xrated
04-03-2008, 03:11 PM
You can test this for yourself. Put the following code at the top of both your header template and your navbar template, and then log out:

<if condition="$show['member']">
<table border=1><tr><td><font color=red>LOGGED IN</table>
<else />
<table border=1><tr><td><font color=blue>LOGGED OUT</table>
</if>

Dismounted
04-04-2008, 05:12 AM
Try:
<if condition="$show['guest']">
<table border="1">
<tr>
<td><font color="blue">LOGGED OUT</td>
</tr>
</table>
<else />
<table border="1">
<tr>
<td><font color="red">LOGGED IN</td>
</tr>
</table>
</if>

mikesz
04-24-2008, 02:10 AM
Thanks very much for this code example. It pointed me in the right direction to solve a menu problem I have been having.

Thanks a lot, mikesz