Monday, September 7, 2009

authorization of new component in Joomla

If u have created a new administrator component in joomla it will not be authorized till u add it in the libraries/joomla/user/authorization.php
add the code like
$this->addACL( 'com_newcomponent', 'manage', 'users', 'administrator' );
$this->addACL( 'com_newcomponent', 'manage', 'users', 'super administrator' );