Hi,
I'm trying to get at conditional statement to work. But it's not working at the moment. Here is the code:
This piece of code controls the option "Watched threads" in the user profile settings page. Now I'm trying to block this feature depending on wether a user is a member of a secondary user group (groupID = 11). But this code is apparently still visible.
What could be wrong?
I'm using TMS.
I'm trying to get at conditional statement to work. But it's not working at the moment. Here is the code:
PHP:
<xen:if is="{xen:helper ismemberof, $visitor, 11}"><li><a
class="{xen:if "{$selectedKey} == 'alerts/watchThreads'", 'secondaryContent', 'primaryContent'}"
href="{xen:link watched/threads}">{xen:phrase watched_threads}</a></li></xen:if>
This piece of code controls the option "Watched threads" in the user profile settings page. Now I'm trying to block this feature depending on wether a user is a member of a secondary user group (groupID = 11). But this code is apparently still visible.
What could be wrong?
I'm using TMS.