Part 1: [code]get($user->id); $user =& JFactory::getUser(); $usergid = $user->get('gid'); //echo "Group ID = " . $usergid . ' ' ; //I know the groupID now[/code] Next step is to evaluate and write the var for use in the stylesheetname: [code] switch ($usergid) { case 31: //echo 'Groep = ' .$usergid . ', Herlecollege'; $template ='hc_bedlam'; $css= 'hc'; break; case 32: //echo 'Groep = '. $usergid . ', Vrienden'; $template= 'web_bedlam'; $css= 'web'; default: $usergid = 0; $template= 'base'; $css = 'base'; break; }[/code] The 'vars' $template and $css are used in the following [code] [/code]