Identical Icons in components administration menu |
Thursday, 22 April 2010 21:31 | |||
Sometimes, when you install several components in Joomla, errors occur in the "Components" menu. Identical icons appear... ![]() The reason is simply that joomla generates in the "Administration console CSS" two classes which have same name (and therefore a class overrides the other). ![]() This style is generated in php with a call to the following url: index.php?option=com_content We can say that it does not help much ... Solution After some research, I found out which file was generated corresponding css styles the administration menu of Joomla. The file you have to modify to correct the problem is the following: administrator \ modules \ mod_menu \ menu.php Go getIconClass function on line 138 (my version of joomla is 1.5.15) Add the two lines: $array_exploded = explode ("/", $identifier);just before $this-> _css .= "\n.icon-16-$class (\n". This is the result ;-): ![]() There are of course other ways to solve such problems ...
|