I want the print and email icons back as in previous Joomla!

A client called me one of these days with this request. He told me, that what was once a simple one click action to print, email or edit an article in frontend in Joomla 1.5 has became an uncomfortable, two click  process, which in some devices proved to be increasingly difficult. After a bit of digging around I found for him an easy to implement template override which make him happy.

Fasten your seat-belts, put the helmets on - and most important, SAVE. And yes, save again.

We will do a template override, if you don't know how to do it, check this.

Check if you have already an override for the /layouts/joomla/content/icons.php, if not, create one. Basically you need to copy the file found in


to your template's /html/ directory like


Next you need to edit it. Locate this part:

<button class="btn dropdown-toggle" type="button" id="dropdownMenuButton-<?php echo $articleId; ?>" aria-label="<?php echo JText::_('JUSER_TOOLS'); ?>"
      data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 <span class="icon-cog" aria-hidden="true"></span>
 <span class="caret" aria-hidden="true"></span>

And delete it/comment it out. The actual code, depending on your exact version might be slightly different. But I am confident, you will your way around ;)

Next, you need to edit this line:

<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton-<?php echo $articleId; ?>">

to look like this:

<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton-<?php echo $articleId; ?>" style="display:block !important">

And that's all! Enjoy your old-style icon functionality!