Thursday 14 April 2011 8:26:32 am
Hi You can do something like this in your hmtl <HEAD></HEAD> ________________________________ {def $user=fetch( 'user', 'current_user' )} {if $user.groups|contains(12)} <link rel="stylesheet" type="text/css" href="css2.css" /> {elseif $user.groups|contains(2)} <link rel="stylesheet" type="text/css" href="css3.css" /> {else} <link rel="stylesheet" type="text/css" href="css1.css" /> {/if} _________________________________ Note: The Numbers 2/12 in the contains() operator are placeholders Greats
|