Tuesday, November 8, 2011

How to add a new control on joomla control panel ?

To add a new control on your joomla CP kindly follow the steps bellow....
1. Go to the folder  \administrator\modules\mod_quickicon
and open the phpfile mod_quickicon.php.
2. Add this code

array(
'link' => JRoute::_('index.php?option=com_content&task=article.add'),
'image' => 'header/icon-48-article-add.png',
'text' => JText::_('MOD_QUICKICON_ADD_NEW_ARTICLE'),
'access' => array('core.manage', 'com_content', 'core.create', 'com_content', )
),


in the function &getButtons()
Change the link, image and text according to your.....