Difference between revisions of "Custom user groups"
From Joomla! Documentation
Randycedeno (talk | contribs) (New page: ''For displaying the groups correctly you will have to change the code of : /administrator/components/com_users/admin.users.php line 285: if ( $userGroupName == $myGroupName && $myGroupN...) |
(No difference)
|
Revision as of 13:24, 3 November 2008
For displaying the groups correctly you will have to change the code of : /administrator/components/com_users/admin.users.php line 285:
if ( $userGroupName == $myGroupName && $myGroupName == 'administrator' )
{ // administrators can't change each other $lists['gid'] = '<input type="hidden" name="gid" value="'. $user->get('gid') .'" />'. JText::_( 'Administrator' ) .''; } else { $gtree = $acl->get_group_children_tree( null, 'USERS', false );into
if ( $userGroupName == $myGroupName && $myGroupName == 'administrator' )
{ // administrators can't change each other $lists['gid'] = '<input type="hidden" name="gid" value="'. $user->get('gid') .'" />'. JText::_( 'Administrator' ) .''; } else { $gtree = $acl->get_group_children_tree( null, 'USERS', true);
I use Joomla 1.5.7 and I don't have the /administrator/components/com_users/admin.users.php file. (at least in that address)