orware
unread,Nov 24, 2009, 1:08:50 PM11/24/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Joomla! CMS Development
I've been using one of Yootheme's templates for our main student site,
but something I've come across a number of times as an annoyance is
the inability to assign a menu image to Alias menu items, as there is
no parameter for it.
Since all other menu item types seem to allow for the menu image
parameter it seems only fitting to me that the Alias menu items be
allowed to have a menu image as well.
In order to accomplish this I simply edited the following file:
administrator/components/com_menus/models/metadata/menulink.xml
And added in the menu image parameter as shown below:
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<state>
<name>Menu Link</name>
<description>Menu Link parameters...</description>
<params>
<param name="menu_item" type="menuitem" state="1"
disable="menulink, separator" label="Menu Item" description="Menu Item
to link to..." />
<param name="menu_image" type="imagelist" directory="/
images/stories" hide_default="1" default="" label="Menu Image"
description="PARAMMENUIMAGE" />
</params>
<advanced />
</state>
</metadata>
Already tried it out on my localhost and everything appears to be
working correctly and my menu image is back :-).