"Mastering Joomla! 1.5 Extension and Framework Development"
$control_name.'['.$name.']', $class, 'value', 'text', $value, $control_name.$name); } } Using Custom JElement Classes To use our JElementMenus class we need to do more than add a param tag of type 'menus' to our XML file. We need to tell Joomla! where it can find the JElementMenus class. To do this we use the addpath attribute. Building on our previous example of a component config.xml file, this XML defines another parameter, using the menus type JElement (assuming that the JElementMenus class is located in the administrator/components/ com_myextension/elements folder):
label="Title" description="Title of page" size="30" /> Chapter 4 [ 99 ] label="Description" rows="5" cols="50" description="Description to display at the top of the page." /> description="Test JElementMenus" default="3"> Group 1
Group 2
If we attempt to make a menu item using this XML metadata file the Menu Item Parameters panel will appear like this: Help Files The Joomla! core components use special help files, which can be displayed in the backend using the menu bar button, help.