You can add image with menu name in Joomla.
You need to make some changes
1: modulesmod_mainmenuhelper.php
line no 300
change this
$tmp->name = null;
to:
$tmp->name = ‘<span><![CDATA['.$item->name.']]></span>’;
$tmp->name = null;
to:
$tmp->name = ‘<span><![CDATA['.$item->name.']]></span>’;
2: Some setting in admin, open module manager, select main menu manager,click on Other Parameter, enable
a: Show Menu Images
b: Menu Image Link
Now to add image for the menu, select menu from menu manager, select Parameters (System), then select image
#1 by Elizabeth - January 16th, 2010 at 03:29
sounds great.
Where do you find this file?
modulesmod_mainmenuhelper.php
#2 by Jiten - January 16th, 2010 at 12:32
Hi Friends,
There is some mistake for displaying the file path.
the correct path is:”modules/mod_mainmenu/helper.php”
@Elizabeth
#3 by Sushi7 - February 22nd, 2010 at 00:43
Hello, it doesn’t work here
Everything got on well except that in my helper.php file the line of $tmp->name = null; is 320.
But when I test it I can’t see any of the images, sigh