Joomla menu Form Field Type

The menu form field type provides a drop down list of the available menus from Joomla site. This field extends the groupedlist type.

The first option on the list is always '- Select Menu -' (which is a translatable string) and is given the value 0.

XML field Definition

<field name="mymenu"
type="menu"
default="mainmenu"
label="Select a menu" />

Additional Parameters

clientid: It defines whether to show site or administrator menu. The value of 0 is for site and 1 is for administrator. The default is site menus.