×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Mark Foster
Added: Apr 13, 2013 10:14 AM
Views: 28
Tags: no tags
  1.  $user =& JFactory::getUser();
  2. $userid = $user->id;
  3. if(isset($user->groups[8]) || isset($user->groups[7])) {