Share » Forums » Developer » Display info depending on Usergroup

Display info depending on Usergroup

Display info depending on Usergroup

Friday 04 April 2008 6:01:44 am - 1 reply

Author Message

John Kazakis

Monday 07 April 2008 4:57:22 am

Looks like I fixed this,

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!

36 542 Users on board!

Forums menu