Create Folderlist

This commit is contained in:
Llewellyn 2024-08-23 17:24:55 +00:00
parent 82dbf40d58
commit 5b787a08d4

View File

@ -0,0 +1,88 @@
{
"name": "Folderlist",
"short_description": "Provides a drop down list of folders from a specified directory.",
"description": "The folderlist form field type provides a drop down list of folders from a specfied directory. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.\r\n\r\nBy default, the first item on ",
"properties": {
"properties0": {
"name": "type",
"example": "folderlist",
"mandatory": "1",
"description": "(mandatory) must be folderlist."
},
"properties1": {
"name": "name",
"example": "myfolder",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the unique name of the field."
},
"properties2": {
"name": "label",
"example": "Select a folder",
"adjustable": "1",
"mandatory": "1",
"translatable": "1",
"description": "(mandatory) (translatable) is the descriptive title of the field."
},
"properties3": {
"name": "directory",
"example": "images",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the filesystem path to the directory containing the folders to be listed."
},
"properties4": {
"name": "default",
"example": "",
"adjustable": "1",
"description": "(optional) is the default folder name."
},
"properties5": {
"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."
},
"properties6": {
"name": "filter",
"example": "",
"adjustable": "1",
"description": "(optional) is a regular expression string which is used to filter the list of folders selected for inclusion in the drop-down list. If omitted, all folders in the directory are included. The filter argument expression is applied before the exclude argument expression. For information on constructing regular expressions see Regular expressions in parameter arguments."
},
"properties7": {
"name": "exclude",
"example": "",
"adjustable": "1",
"description": "(optional) is a regular expression string which is used to exclude folders from the list. The exclude argument expression is applied after the filter argument expression. For information on constructing regular expressions see Regular expressions in parameter arguments."
},
"properties8": {
"name": "hide_none",
"example": "",
"adjustable": "1",
"description": "(optional) is a Boolean argument. If true, the '- Do not use -' item is omitted from the drop-down list."
},
"properties9": {
"name": "hide_default",
"example": "",
"adjustable": "1",
"description": "(optional) is a Boolean argument. If true, the '- Use default -' item is omitted from the drop-down list."
},
"properties10": {
"name": "showon",
"example": "",
"adjustable": "1",
"description": "(optional) show this field on the bases of the value in another field. https:\/\/joomla.stackexchange.com\/a\/17682\/2166"
}
},
"has_defaults": "1",
"datatype": "VARCHAR",
"datalenght": "255",
"datalenght_other": "",
"datadefault": "",
"datadefault_other": "",
"indexes": "0",
"null_switch": "NOT NULL",
"store": "0",
"guid": "d3ab2ae4-9370-4497-ae6d-dee2e0b74b7a"
}