Add a quickicon in Joomla!’s Admin CPanel

February 27, 2008 by Octav

After you login to your backend console, you can easily notice the CPanel in the left part. Here are the steps to add a new shortcut (quickicon):

Admin CPanel

1) Locate the /administrator/modules/mod_quickicon.php file and open it with your favourite PHP editor.

2) Go to the last quickicon, after lines 83-86:
    if ( $my->gid == 25 ) {
        $link = “index2.php?option=com_config&hidemainmenu=1″;
        quickiconButton( $link, “config.png”, “Global Configuration” );
    }

3) After this lines you can add as many quickicons you want, just before the next line containing:
    if ($securitycheck) {

4) Here is the code for a new quickicon (eg: a quickicon for VirtueMart)
    $link = “index2.php?option=com_virtuemart”;
    $image = “credits.png”;
    $name = ”VirtueMart”;

    quickiconButton( $link, $image, $name );

5) Another example of a quickicon (eg: a quickicon for the Blog)
    $link = “https://www.halcyon-solutions.com/blog/”;
    $image = “blog.png”;
    $name = ”Blog”;

    quickiconButton( $link, $image, $name );

6) The $link can contain relative or absolute URL, the $image should be a relative picture from /administrator/images/ and $name should be the name for the CPanel.

You must be logged in to post a comment.