Hi,
From what I've seen this code can be used for instructions that apply to backend users that are non-admins:
Code:
if( !$this->User->isAdmin ) { ... }
Maybe I've understood it wrong (I'm not really a programmer), but it seems that the cose then applies to all users, also admins. For example, the following code deletes the 'List' element from the Element type drop-down:
Code:
if( !$this->User->isAdmin )
{
unset($GLOBALS['TL_CTE']['texts']['list'])
}
Nut this applies to all users, admins and non-admins. How can I target only regular backend users (either who are part of a particular User Group, or who are simply not admins)?
Many thanks!
Bookmarks