Create Modulelayout

This commit is contained in:
Llewellyn 2024-08-23 17:25:18 +00:00
parent b7bc329448
commit fc9da20438

View File

@ -0,0 +1,63 @@
{
"name": "Modulelayout",
"short_description": "modulelayout",
"description": "The modulelayout form field type provides a drop down list of all available layouts for a module, grouped by core and template. If the parameter has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.",
"properties": {
"properties0": {
"name": "type",
"example": "modulelayout",
"mandatory": "1",
"description": "(mandatory) must be modulelayout."
},
"properties1": {
"name": "name",
"example": "layout",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the unique name of the parameter."
},
"properties2": {
"name": "label",
"example": "Layout",
"adjustable": "1",
"mandatory": "1",
"translatable": "1",
"description": "(mandatory) (translatable) is the descriptive title of the field."
},
"properties3": {
"name": "description",
"example": "Module layout",
"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."
},
"properties4": {
"name": "module",
"example": "",
"adjustable": "1",
"description": "(optional) is a specific module name (e.g. mod_articles_category)."
},
"properties5": {
"name": "client_id",
"example": "",
"adjustable": "1",
"description": "(optional). If 0 (site): Forces searching for layouts only in directories \/modules\/[MODULENAME]\/tmpl\/ and all \/templates\/[TEMPLATENAME]\/html\/[MODULENAME]\/. If 1 (administrator): Forces searching for layouts only in directories \/administrator\/modules\/[MODULENAME]\/tmpl\/ and all \/administrator\/templates\/[TEMPLATENAME]\/html\/[MODULENAME]\/.\r\n"
},
"properties6": {
"name": "template",
"example": "",
"adjustable": "1",
"description": "(optional) is a template name (e.g. protostar or isis). If set forces searching for module template overrides only in this template."
}
},
"has_defaults": "0",
"datatype": "",
"datalenght": "",
"datalenght_other": "",
"datadefault": "",
"datadefault_other": "",
"indexes": "0",
"null_switch": "NOT NULL",
"store": "0",
"guid": "7520c8f4-543d-4c7a-8e4f-e2da71c3b1cd"
}