Skip to main content
added 10 characters in body
Source Link

You can use a condition to refuse anywho is not in a specific group.

$user = JFactory::getUser();
$groups = $user->groups;

if (in_array(8, $groups)):

 //only enter itif the user is in the group 8 (group 8 = Super-Administrator)

endif;

You can use a condition to refuse anywho is not in a specific group.

$user = JFactory::getUser();
$groups = $user->groups;

if (in_array(8, $groups)):

 //only enter it the user is in the group 8 (Super-Administrator)

endif;

You can use a condition to refuse anywho is not in a specific group.

$user = JFactory::getUser();
$groups = $user->groups;

if (in_array(8, $groups)):

 //only enter if the user is in the group 8 (group 8 = Super-Administrator)

endif;
Source Link

You can use a condition to refuse anywho is not in a specific group.

$user = JFactory::getUser();
$groups = $user->groups;

if (in_array(8, $groups)):

 //only enter it the user is in the group 8 (Super-Administrator)

endif;