Create menuitem

This commit is contained in:
Llewellyn 2024-08-23 17:25:00 +00:00
parent 21e58ef99a
commit d846791a65

View File

@ -0,0 +1,70 @@
{
"name": "menuitem",
"short_description": "provides a drop down list of the available menu items from your Joomla site.",
"description": "The menuitem form field type provides a drop down grouped list of the available menu items from your Joomla site.",
"properties": {
"properties0": {
"name": "type",
"example": "menuitem",
"mandatory": "1",
"description": "(mandatory) must be menuitem."
},
"properties1": {
"name": "name",
"example": "mymenuitem",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the unique name of the field."
},
"properties2": {
"name": "label",
"example": "Select a menu item",
"adjustable": "1",
"mandatory": "1",
"translatable": "1",
"description": "(mandatory) (translatable) is the descriptive title of the field."
},
"properties3": {
"name": "default",
"example": "",
"adjustable": "1",
"description": "(optional) is the default menu item. Note that this is the ItemID number of the menu item."
},
"properties4": {
"name": "description",
"example": "",
"adjustable": "1",
"translatable": "1",
"description": "(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box."
},
"properties5": {
"name": "published",
"example": "",
"adjustable": "1",
"description": "(optional) determines whether all menu items are listed or only published menu items. If state is '0' then all menu items will be listed. If state is '1' then only published menu items will be listed."
},
"properties6": {
"name": "filter",
"example": "int",
"adjustable": "1",
"mandatory": "1",
"description": "(optional) allow the system to save certain html tags or raw data."
},
"properties7": {
"name": "showon",
"example": "",
"adjustable": "1",
"description": "(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+ https:\/\/joomla.stackexchange.com\/a\/17682\/2166"
}
},
"has_defaults": "1",
"datatype": "INT",
"datalenght": "7",
"datalenght_other": "",
"datadefault": "0",
"datadefault_other": "",
"indexes": "0",
"null_switch": "NOT NULL",
"store": "0",
"guid": "f183b0e2-017f-48bd-8dba-d332ce1b8d9e"
}