Add a quick icon in Joomla 3

thecommonthread picture thecommonthread · Jul 16, 2013 · Viewed 7.4k times · Source

Anyone know how to add a quick icon or maybe even edit the current list of quick icons in Joomla 3.1? To be more specific, that would be the series of links that appear on the right side of the screen immediately after logging in to Joomla admin. I searched and couldn't find this question on stackoverflow.

Answer

Craig picture Craig · Jul 16, 2013

QuickIcon's are actually a plug-in.

If you go to Extensions->Plug-in Manager->Plug-ins and select quickicon from the Type filter menu on the left you will see the any QuickIcon plugins you have installed. The default plug-ins are for Update Notifications (one for Joomla and another for Extensions).

If you are creating on as a simple short-cut to existing functionality then you're best of using one of the QuickIcon extensions on the Joomla Extension Directory that do that already. If you're wanting to create a QuickIcon for a custom component you're creating you will need to create your own plug-in.

You can read about Plug-ins here, note that for 3.x there isn't much difference from 2.5.x plugins.

A QuickIcon plug-in consists of several files:

  1. pluginname.php
  2. pluginname.xml
  3. various media files (images, css, js)

While the #3 is optional most plugins will use one or more of them.

If you're going to create your own plug-in I would start by looking at the two notification QuickIcon plugins that ship with Joomla 3.x. You can find them in the /plugins/quickicon/ directory with corresponding media in /media/plg_quickicon_*. As they ship with the core their CSS is in the admin templates CSS' e.g. if you using Isis you will find it in /administrator/templates/isis/css/template.css