From 5b787a08d4e5414fa6e9dee859164e9a6af3ed25 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Fri, 23 Aug 2024 17:24:55 +0000 Subject: [PATCH] Create Folderlist --- .../item.json | 88 +++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 src/d3ab2ae4-9370-4497-ae6d-dee2e0b74b7a/item.json diff --git a/src/d3ab2ae4-9370-4497-ae6d-dee2e0b74b7a/item.json b/src/d3ab2ae4-9370-4497-ae6d-dee2e0b74b7a/item.json new file mode 100644 index 0000000..2758c51 --- /dev/null +++ b/src/d3ab2ae4-9370-4497-ae6d-dee2e0b74b7a/item.json @@ -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" +} \ No newline at end of file