From eb21c7843202970754a9b6f9bedfa7b7e78e5ab8 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Fri, 23 Aug 2024 16:35:50 +0000 Subject: [PATCH] Create Category --- .../item.json | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/f70346b3-2096-4f44-8b26-01ab87da7d1e/item.json diff --git a/src/f70346b3-2096-4f44-8b26-01ab87da7d1e/item.json b/src/f70346b3-2096-4f44-8b26-01ab87da7d1e/item.json new file mode 100644 index 0000000..4bfc1d5 --- /dev/null +++ b/src/f70346b3-2096-4f44-8b26-01ab87da7d1e/item.json @@ -0,0 +1,100 @@ +{ + "name": "Category", + "short_description": "provides a drop down list of categories for an extension.", + "description": "The category form field type provides a drop down list of all published categories for a certain extension. 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. If the show_root", + "properties": { + "properties0": { + "name": "type", + "example": "category", + "mandatory": "1", + "description": "(mandatory) must be category." + }, + "properties1": { + "name": "name", + "example": "mycategory", + "adjustable": "1", + "mandatory": "1", + "description": "(mandatory) is the unique name of the parameter." + }, + "properties2": { + "name": "label", + "example": "Select a category", + "adjustable": "1", + "mandatory": "1", + "translatable": "1", + "description": "(mandatory) (translatable) is the descriptive title of the field." + }, + "properties3": { + "name": "extension", + "example": "com_content", + "adjustable": "1", + "mandatory": "1", + "description": "(mandatory) is the name of the extension for which the categories will be retrieved. For example, to list content categories, use the value 'com_content'. You can add also target one view, use the value 'com_component.view'." + }, + "properties4": { + "name": "scope", + "example": "", + "adjustable": "1", + "description": "(optional) is an alias for extension." + }, + "properties5": { + "name": "required", + "example": "true", + "adjustable": "1", + "description": "(optional) The field must be filled before submitting the form." + }, + "properties6": { + "name": "show_root", + "example": "true", + "adjustable": "1", + "description": "(optional) is whether a choice representing the root category will be shown. Remove completely if it is not to be shown." + }, + "properties7": { + "name": "default", + "example": "", + "adjustable": "1", + "description": "(optional) is the default category ID number." + }, + "properties8": { + "name": "description", + "example": "select one of the following categories", + "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." + }, + "properties9": { + "name": "class", + "example": "inputbox", + "adjustable": "1", + "description": "(optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'." + }, + "properties10": { + "name": "published", + "example": "1", + "adjustable": "1", + "description": "(optional) (1\/0\/2\/-2) is whether the drop down will show only published (1), unpublished (0), archived (2) or trashed (-2) categories. It is possible to combine different publishing status by entering the list of the corresponding numbers separated by comma (e.g. \"0,2,-2\" will display only unpublished, archived and trashed categories in the drop-down)." + }, + "properties11": { + "name": "multiple", + "example": "false", + "adjustable": "1", + "description": "(optional) is whether multiple items can be selected at the same time (true or false)." + }, + "properties12": { + "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": "0", + "datatype": "", + "datalenght": "", + "datalenght_other": "", + "datadefault": "", + "datadefault_other": "", + "indexes": "0", + "null_switch": "NOT NULL", + "store": "0", + "guid": "f70346b3-2096-4f44-8b26-01ab87da7d1e" +} \ No newline at end of file