Used an if statement instead, so my code looks like this now
{if $group.name|contains( IE07 ) }
<p>You are a member of: <strong>Import/Export 2007</strong><br />
You have access to the following sections:
{elseif $group.name|contains( UE2 )}
<p>You are a member of: <strong>UEII</strong><br />
You have access to the following sections:
{elseif $group.name|contains( Anonymous )}
<p> You are an anonymous user.<br />
You do not have access to this section.
...
One thing I'd like to add is to display a message depending on the current node that the user is in. Is it possible? I've read about $requested_uri_string, but it seems it's only for pagelayout. Is there another way?
Thanks.
You must be logged in to post messages in this topic!