Tuesday, July 9, 2013

[Joomla!][Tutorial] Way to Add a shortcut icon to Joomla Admin control panel (with image)



This short article is for showing the how to add the icon to joomla 's  Admin control panel index  page and link to your component.
 
Firstly, let have a look about where the icon would be added:


And there is the way to add the icon:

1)      Visit this path and edit mod_quickicon.php.

Your_joomla_root\administrator\modules\mod_quickicon\mod_quickicon.php

 (change text in red to your joomla root)

2)      Look for the div tab with id name “cpanel” (<div id="cpanel"> … </div>) then copy one of these code.


Change text in red to your component folder name and text in blue to your icon button image path.


$link = 'index.php?option=com_benefit’;
quickiconButton( $link, 'icon-48-benefit-add.png', JText::_( 'New Post' ) );


And then the icon will be added:


Reference:

No comments :

Post a Comment