diff --git a/CHANGELOG.md b/CHANGELOG.md index c33b83af7..fdda0c877 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,18 @@ -# v3.2.2-alpha5 +# v3.2.2-alpha6 -- Add repositories for better integration with gitea -- Refactored the Data classes -- Add new Data classes +- Add new subform classes +- Fix registry class methods return type +- Update all list and custom fields to use the new layouts # v3.2.2-alpha - Fix auto build from SQL in Joomla 4 and 5. - Fix permission issue for admin views. - Add extending options to interfaces. -- Update the Schema class to also update null mismatching if needed +- Update the Schema class to also update null mismatching if needed +- Add repositories for better integration with gitea +- Refactored the Data classes +- Add new Data classes # v3.2.1 diff --git a/README.md b/README.md index 983eed31a..d09fb2fe7 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.2.2-alpha5) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.2.2-alpha6) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -144,14 +144,14 @@ TODO + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 20th June, 2024 -+ *Version*: 3.2.2-alpha5 ++ *Last Build*: 28th June, 2024 ++ *Version*: 3.2.2-alpha6 + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **773763** ++ *Line count*: **777954** + *Field count*: **2104** -+ *File count*: **5362** -+ *Folder count*: **474** ++ *File count*: **5399** ++ *Folder count*: **476** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com). > Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) diff --git a/admin/README.txt b/admin/README.txt index 983eed31a..d09fb2fe7 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.2.2-alpha5) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.2.2-alpha6) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -144,14 +144,14 @@ TODO + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 20th June, 2024 -+ *Version*: 3.2.2-alpha5 ++ *Last Build*: 28th June, 2024 ++ *Version*: 3.2.2-alpha6 + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **773763** ++ *Line count*: **777954** + *Field count*: **2104** -+ *File count*: **5362** -+ *Folder count*: **474** ++ *File count*: **5399** ++ *Folder count*: **476** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com). > Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) diff --git a/admin/config.xml b/admin/config.xml index 823b41840..cdf4d549d 100644 --- a/admin/config.xml +++ b/admin/config.xml @@ -202,6 +202,7 @@ label="COM_COMPONENTBUILDER_CONFIG_JCB_PACKAGE_DIRECTORIES_LABEL" description="COM_COMPONENTBUILDER_CONFIG_JCB_PACKAGE_DIRECTORIES_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="true" default="" showon="manage_jcb_package_directories:1"> @@ -235,6 +236,7 @@ label="COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_LABEL" description="COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="global" showon="set_browser_storage:1"> @@ -789,6 +791,7 @@ label="COM_COMPONENTBUILDER_CONFIG_BUILDER_GIF_SIZE_LABEL" description="COM_COMPONENTBUILDER_CONFIG_BUILDER_GIF_SIZE_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" default="480-272"> @@ -914,6 +917,7 @@ label="COM_COMPONENTBUILDER_CONFIG_ASSETS_TABLE_FIX_LABEL" description="COM_COMPONENTBUILDER_CONFIG_ASSETS_TABLE_FIX_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="2"> @@ -931,6 +935,7 @@ label="COM_COMPONENTBUILDER_CONFIG_COMPILER_FIELD_BUILDER_TYPE_LABEL" description="COM_COMPONENTBUILDER_CONFIG_COMPILER_FIELD_BUILDER_TYPE_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" filter="INT" required="true" default="2"> @@ -1138,6 +1143,7 @@ label="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_SERVER_LABEL" description="COM_COMPONENTBUILDER_CONFIG_CRONJOB_BACKUP_SERVER_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" showon="cronjob_backup_type:2" diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini index 0c89a55eb..9b90b2f51 100644 --- a/admin/language/en-GB/en-GB.com_componentbuilder.ini +++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini @@ -914,7 +914,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_PARAGRAPH_CENTER="Paragraph Center" COM_COMPONENTBUILDER_ADMIN_VIEW_PARAGRAPH_JUSTIFY="Paragraph Justify" COM_COMPONENTBUILDER_ADMIN_VIEW_PARAGRAPH_LEFT="Paragraph Left" COM_COMPONENTBUILDER_ADMIN_VIEW_PARAGRAPH_RIGHT="Paragraph Right" -COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_DESCRIPTION="The key to use to link the parent view." +COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_DESCRIPTION="The key to use to link this parent view." COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_HINT="id" COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_LABEL="Parent Key" COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_MESSAGE="Error! Please add key here." diff --git a/admin/models/fields/dynamicgets.php b/admin/models/fields/dynamicgets.php index b3f2faaa5..965039964 100644 --- a/admin/models/fields/dynamicgets.php +++ b/admin/models/fields/dynamicgets.php @@ -39,24 +39,25 @@ class JFormFieldDynamicgets extends JFormFieldList */ protected function getOptions() { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name','a.gettype'),array('id','dynamic_get_name','type'))); - $query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); -$query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $model = ComponentbuilderHelper::getModel('dynamic_gets'); - foreach($items as $item) - { - $type = $model->selectionTranslation($item->type,'gettype'); - $options[] = JHtml::_('select.option', $item->id, $item->dynamic_get_name . ' (' . JText::_($type) . ')' ); - } - } - return $options; + $db = JFactory::getDBO(); +$query = $db->getQuery(true); +$query->select($db->quoteName(array('a.id','a.name','a.gettype'),array('id','dynamic_get_name','type'))); +$query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a')); +$query->where($db->quoteName('a.published') . ' = 1'); +$query->order('a.name ASC'); +$db->setQuery((string)$query); +$items = $db->loadObjectList(); +$options = array(); +if ($items) +{ + $model = ComponentbuilderHelper::getModel('dynamic_gets'); + foreach($items as $item) + { + $type = $model->selectionTranslation($item->type,'gettype'); + $options[] = JHtml::_('select.option', $item->id, $item->dynamic_get_name . ' (' . JText::_($type) . ')' ); + } +} + +return $options; } } diff --git a/admin/models/fields/filebehaviour.php b/admin/models/fields/filebehaviour.php index 9fcdff6cf..9a4216979 100644 --- a/admin/models/fields/filebehaviour.php +++ b/admin/models/fields/filebehaviour.php @@ -52,7 +52,7 @@ class JFormFieldFilebehaviour extends JFormFieldList } $options[] = JHtml::_('select.option', '2', JText::_('COM_COMPONENTBUILDER_CONDITIONS')); $options[] = JHtml::_('select.option', '3', JText::_('COM_COMPONENTBUILDER_CUSTOM_SCRIPT')); - $options[] = JHtml::_('select.option', '0', JText::_('COM_COMPONENTBUILDER_DO_NOT_ADD')); - return $options; + $options[] = JHtml::_('select.option', '0', JText::_('COM_COMPONENTBUILDER_DO_NOT_ADD')); +return $options; } } diff --git a/admin/models/fields/libraryreadonly.php b/admin/models/fields/libraryreadonly.php index 14916cf27..97ae83729 100644 --- a/admin/models/fields/libraryreadonly.php +++ b/admin/models/fields/libraryreadonly.php @@ -39,22 +39,23 @@ class JFormFieldLibraryreadonly extends JFormFieldList */ protected function getOptions() { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name'),array('id','library_name'))); - $query->from($db->quoteName('#__componentbuilder_library', 'a')); - $query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $options[] = JHtml::_('select.option', '', 'Select an option'); - foreach($items as $item) - { - $options[] = JHtml::_('select.option', $item->id, $item->library_name); - } - } - return $options; + $db = JFactory::getDBO(); +$query = $db->getQuery(true); +$query->select($db->quoteName(array('a.id','a.name'),array('id','library_name'))); +$query->from($db->quoteName('#__componentbuilder_library', 'a')); +$query->order('a.name ASC'); +$db->setQuery((string)$query); +$items = $db->loadObjectList(); +$options = array(); +if ($items) +{ + $options[] = JHtml::_('select.option', '', 'Select an option'); + foreach($items as $item) + { + $options[] = JHtml::_('select.option', $item->id, $item->library_name); + } +} + +return $options; } } diff --git a/admin/models/fields/maingets.php b/admin/models/fields/maingets.php index 19da923c1..97d35fa34 100644 --- a/admin/models/fields/maingets.php +++ b/admin/models/fields/maingets.php @@ -143,25 +143,25 @@ class JFormFieldMaingets extends JFormFieldList */ protected function getOptions() { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name','a.gettype'),array('id','main_get_name','type'))); - $query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); + $db = JFactory::getDBO(); +$query = $db->getQuery(true); +$query->select($db->quoteName(array('a.id','a.name','a.gettype'),array('id','main_get_name','type'))); +$query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a')); +$query->where($db->quoteName('a.published') . ' = 1'); $query->where('( '.$db->quoteName('a.gettype') . ' = 1 OR ' . $db->quoteName('a.gettype') . ' = 2 )'); - $query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $model = ComponentbuilderHelper::getModel('dynamic_gets'); - foreach($items as $item) - { - $type = $model->selectionTranslation($item->type,'gettype'); - $options[] = JHtml::_('select.option', $item->id, $item->main_get_name . ' (' . JText::_($type) . ')' ); - } - } - return $options; + $query->order('a.name ASC'); +$db->setQuery((string)$query); +$items = $db->loadObjectList(); +$options = array(); +if ($items) +{ + $model = ComponentbuilderHelper::getModel('dynamic_gets'); + foreach($items as $item) + { + $type = $model->selectionTranslation($item->type,'gettype'); + $options[] = JHtml::_('select.option', $item->id, $item->main_get_name . ' (' . JText::_($type) . ')' ); + } +} +return $options; } } diff --git a/admin/models/fields/servers.php b/admin/models/fields/servers.php index 8e9ca29a3..dd10bc7ed 100644 --- a/admin/models/fields/servers.php +++ b/admin/models/fields/servers.php @@ -143,24 +143,25 @@ class JFormFieldServers extends JFormFieldList */ protected function getOptions() { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name','a.protocol'),array('id','name', 'protocol'))); - $query->from($db->quoteName('#__componentbuilder_server', 'a')); - $query->where($db->quoteName('a.published') . ' >= 1'); - $query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $options[] = JHtml::_('select.option', '', 'Select an option'); - foreach($items as $item) - { - $item->protocol = ($item->protocol == 2) ? JText::_('SFTP') : JText::_('FTP'); - $options[] = JHtml::_('select.option', $item->id, $item->name.' ['.$item->protocol.']'); - } - } - return $options; + $db = JFactory::getDBO(); +$query = $db->getQuery(true); +$query->select($db->quoteName(array('a.id','a.name','a.protocol'),array('id','name', 'protocol'))); +$query->from($db->quoteName('#__componentbuilder_server', 'a')); +$query->where($db->quoteName('a.published') . ' >= 1'); +$query->order('a.name ASC'); +$db->setQuery((string)$query); +$items = $db->loadObjectList(); +$options = array(); +if ($items) +{ + $options[] = JHtml::_('select.option', '', 'Select an option'); + foreach($items as $item) + { + $item->protocol = ($item->protocol == 2) ? JText::_('SFTP') : JText::_('FTP'); + $options[] = JHtml::_('select.option', $item->id, $item->name.' ['.$item->protocol.']'); + } +} + +return $options; } } diff --git a/admin/models/fields/snippets.php b/admin/models/fields/snippets.php index ab0876784..e3fe94c49 100644 --- a/admin/models/fields/snippets.php +++ b/admin/models/fields/snippets.php @@ -143,29 +143,30 @@ class JFormFieldSnippets extends JFormFieldList */ protected function getOptions() { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name','b.name','c.name'),array('id','snippet_name','type','library'))); - $query->from($db->quoteName('#__componentbuilder_snippet', 'a')); + $db = JFactory::getDBO(); +$query = $db->getQuery(true); +$query->select($db->quoteName(array('a.id','a.name','b.name','c.name'),array('id','snippet_name','type','library'))); +$query->from($db->quoteName('#__componentbuilder_snippet', 'a')); // From the componentbuilder_snippet_type table. $query->join('LEFT', $db->quoteName('#__componentbuilder_snippet_type', 'b') . ' ON (' . $db->quoteName('a.type') . ' = ' . $db->quoteName('b.id') . ')'); // From the componentbuilder_library table. - $query->join('LEFT', $db->quoteName('#__componentbuilder_library', 'c') . ' ON (' . $db->quoteName('a.library') . ' = ' . $db->quoteName('c.id') . ')'); - $query->where($db->quoteName('a.published') . ' >= 1'); + $query->join('LEFT', $db->quoteName('#__componentbuilder_library', 'c') . ' ON (' . $db->quoteName('a.library') . ' = ' . $db->quoteName('c.id') . ')'); +$query->where($db->quoteName('a.published') . ' >= 1'); $query->order('c.ordering ASC'); - $query->order('b.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - foreach($items as $item) - { + $query->order('b.name ASC'); +$db->setQuery((string)$query); +$items = $db->loadObjectList(); +$options = array(); +if ($items) +{ + foreach($items as $item) + { $lib = (isset($item->library) && ComponentbuilderHelper::checkString($item->library)) ? ' (' . $item->library . ')' :''; - $type = (isset($item->type) && ComponentbuilderHelper::checkString($item->type)) ? $item->type :JText::_('COM_COMPONENTBUILDER_NO_TYPE'); - $options[] = JHtml::_('select.option', $item->id, $type . ' - ' . $item->snippet_name . $lib ); - } - } - return $options; + $type = (isset($item->type) && ComponentbuilderHelper::checkString($item->type)) ? $item->type :JText::_('COM_COMPONENTBUILDER_NO_TYPE'); + $options[] = JHtml::_('select.option', $item->id, $type . ' - ' . $item->snippet_name . $lib ); + } +} + +return $options; } } diff --git a/admin/models/fields/snippettype.php b/admin/models/fields/snippettype.php index 642cbc7ca..7a91191e0 100644 --- a/admin/models/fields/snippettype.php +++ b/admin/models/fields/snippettype.php @@ -39,23 +39,24 @@ class JFormFieldSnippettype extends JFormFieldList */ protected function getOptions() { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name'),array('id','type_name'))); - $query->from($db->quoteName('#__componentbuilder_snippet_type', 'a')); - $query->where($db->quoteName('a.published') . ' >= 1'); - $query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $options[] = JHtml::_('select.option', '', 'Select an option'); - foreach($items as $item) - { - $options[] = JHtml::_('select.option', $item->id, $item->type_name); - } - } - return $options; + $db = JFactory::getDBO(); +$query = $db->getQuery(true); +$query->select($db->quoteName(array('a.id','a.name'),array('id','type_name'))); +$query->from($db->quoteName('#__componentbuilder_snippet_type', 'a')); +$query->where($db->quoteName('a.published') . ' >= 1'); +$query->order('a.name ASC'); +$db->setQuery((string)$query); +$items = $db->loadObjectList(); +$options = array(); +if ($items) +{ + $options[] = JHtml::_('select.option', '', 'Select an option'); + foreach($items as $item) + { + $options[] = JHtml::_('select.option', $item->id, $item->type_name); + } +} + +return $options; } } diff --git a/admin/models/forms/admin_custom_tabs.xml b/admin/models/forms/admin_custom_tabs.xml index 5a4585468..40836e0c6 100644 --- a/admin/models/forms/admin_custom_tabs.xml +++ b/admin/models/forms/admin_custom_tabs.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_ADMIN_CUSTOM_TABS_ADMIN_VIEW_LABEL" description="COM_COMPONENTBUILDER_ADMIN_CUSTOM_TABS_ADMIN_VIEW_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="" required="true" diff --git a/admin/models/forms/admin_fields.xml b/admin/models/forms/admin_fields.xml index db8ac40eb..1036217b9 100644 --- a/admin/models/forms/admin_fields.xml +++ b/admin/models/forms/admin_fields.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADMIN_VIEW_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_ADMIN_VIEW_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="" required="true" diff --git a/admin/models/forms/admin_fields_conditions.xml b/admin/models/forms/admin_fields_conditions.xml index 8bf3864e2..4c49a140c 100644 --- a/admin/models/forms/admin_fields_conditions.xml +++ b/admin/models/forms/admin_fields_conditions.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADMIN_VIEW_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_ADMIN_VIEW_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="" required="true" diff --git a/admin/models/forms/admin_fields_relations.xml b/admin/models/forms/admin_fields_relations.xml index e5fb924d2..79ef12b0e 100644 --- a/admin/models/forms/admin_fields_relations.xml +++ b/admin/models/forms/admin_fields_relations.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_ADMIN_VIEW_LABEL" description="COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_ADMIN_VIEW_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="" required="true" diff --git a/admin/models/forms/admin_view.xml b/admin/models/forms/admin_view.xml index 2bf33d335..6fa813a19 100644 --- a/admin/models/forms/admin_view.xml +++ b/admin/models/forms/admin_view.xml @@ -308,6 +308,7 @@ label="COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_CHARSET_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_CHARSET_DESCRIPTION" class="list_class bestview" + layout="joomla.form.field.list-fancy-select" multiple="false" filter="CMD" required="true" @@ -419,6 +420,7 @@ label="COM_COMPONENTBUILDER_ADMIN_VIEW_TYPE_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_TYPE_DESCRIPTION" class="btn-group" + layout="joomla.form.field.list-fancy-select" filter="INT" default="1"> @@ -849,6 +851,7 @@ label="COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ROW_FORMAT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ROW_FORMAT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" default="DYNAMIC"> @@ -1915,6 +1918,7 @@ label="COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ENGINE_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ENGINE_DESCRIPTION" class="list_class bestview" + layout="joomla.form.field.list-fancy-select" multiple="false" filter="CMD" required="true" @@ -1954,6 +1958,7 @@ label="COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_COLLATE_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_COLLATE_DESCRIPTION" class="list_class bestview" + layout="joomla.form.field.list-fancy-select" multiple="false" filter="CMD" required="true" diff --git a/admin/models/forms/class_extends.xml b/admin/models/forms/class_extends.xml index 054e10921..04b0759cc 100644 --- a/admin/models/forms/class_extends.xml +++ b/admin/models/forms/class_extends.xml @@ -117,6 +117,7 @@ label="COM_COMPONENTBUILDER_CLASS_EXTENDS_EXTENSION_TYPE_LABEL" description="COM_COMPONENTBUILDER_CLASS_EXTENDS_EXTENSION_TYPE_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true"> diff --git a/admin/models/forms/class_method.xml b/admin/models/forms/class_method.xml index b10f70547..e81b99689 100644 --- a/admin/models/forms/class_method.xml +++ b/admin/models/forms/class_method.xml @@ -117,6 +117,7 @@ label="COM_COMPONENTBUILDER_CLASS_METHOD_VISIBILITY_LABEL" description="COM_COMPONENTBUILDER_CLASS_METHOD_VISIBILITY_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" filter="STRING" required="true"> @@ -141,6 +142,7 @@ label="COM_COMPONENTBUILDER_CLASS_METHOD_EXTENSION_TYPE_LABEL" description="COM_COMPONENTBUILDER_CLASS_METHOD_EXTENSION_TYPE_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true"> @@ -204,6 +206,7 @@ name="joomla_plugin_group" label="COM_COMPONENTBUILDER_CLASS_METHOD_JOOMLA_PLUGIN_GROUP_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="true" diff --git a/admin/models/forms/class_property.xml b/admin/models/forms/class_property.xml index 29cba4f30..3d9e7d355 100644 --- a/admin/models/forms/class_property.xml +++ b/admin/models/forms/class_property.xml @@ -117,6 +117,7 @@ label="COM_COMPONENTBUILDER_CLASS_PROPERTY_VISIBILITY_LABEL" description="COM_COMPONENTBUILDER_CLASS_PROPERTY_VISIBILITY_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" filter="STRING" required="true"> @@ -141,6 +142,7 @@ label="COM_COMPONENTBUILDER_CLASS_PROPERTY_EXTENSION_TYPE_LABEL" description="COM_COMPONENTBUILDER_CLASS_PROPERTY_EXTENSION_TYPE_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true"> @@ -188,6 +190,7 @@ name="joomla_plugin_group" label="COM_COMPONENTBUILDER_CLASS_PROPERTY_JOOMLA_PLUGIN_GROUP_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="true" diff --git a/admin/models/forms/component_admin_views.xml b/admin/models/forms/component_admin_views.xml index a7a22290d..b208163d3 100644 --- a/admin/models/forms/component_admin_views.xml +++ b/admin/models/forms/component_admin_views.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/component_config.xml b/admin/models/forms/component_config.xml index ba3a0b5cc..a01dbfb93 100644 --- a/admin/models/forms/component_config.xml +++ b/admin/models/forms/component_config.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/component_custom_admin_menus.xml b/admin/models/forms/component_custom_admin_menus.xml index 8753d54a4..01acd3e1c 100644 --- a/admin/models/forms/component_custom_admin_menus.xml +++ b/admin/models/forms/component_custom_admin_menus.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/component_custom_admin_views.xml b/admin/models/forms/component_custom_admin_views.xml index 45f625a44..3c918755f 100644 --- a/admin/models/forms/component_custom_admin_views.xml +++ b/admin/models/forms/component_custom_admin_views.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/component_dashboard.xml b/admin/models/forms/component_dashboard.xml index c2471a5e2..ff51c4435 100644 --- a/admin/models/forms/component_dashboard.xml +++ b/admin/models/forms/component_dashboard.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/component_files_folders.xml b/admin/models/forms/component_files_folders.xml index 0f158693b..e760cc7a4 100644 --- a/admin/models/forms/component_files_folders.xml +++ b/admin/models/forms/component_files_folders.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/component_modules.xml b/admin/models/forms/component_modules.xml index bd8e7433b..0f2508281 100644 --- a/admin/models/forms/component_modules.xml +++ b/admin/models/forms/component_modules.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_MODULES_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_MODULES_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_MODULES_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/component_mysql_tweaks.xml b/admin/models/forms/component_mysql_tweaks.xml index dfce41c3d..cae7ac5f4 100644 --- a/admin/models/forms/component_mysql_tweaks.xml +++ b/admin/models/forms/component_mysql_tweaks.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/component_placeholders.xml b/admin/models/forms/component_placeholders.xml index 15bd404ee..b1bc62968 100644 --- a/admin/models/forms/component_placeholders.xml +++ b/admin/models/forms/component_placeholders.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/component_plugins.xml b/admin/models/forms/component_plugins.xml index 789eb0570..03d3d43bb 100644 --- a/admin/models/forms/component_plugins.xml +++ b/admin/models/forms/component_plugins.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_PLUGINS_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_PLUGINS_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_PLUGINS_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/component_router.xml b/admin/models/forms/component_router.xml index d82f36acd..941584234 100644 --- a/admin/models/forms/component_router.xml +++ b/admin/models/forms/component_router.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_ROUTER_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_ROUTER_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" diff --git a/admin/models/forms/component_site_views.xml b/admin/models/forms/component_site_views.xml index b3db4c975..95c4dc108 100644 --- a/admin/models/forms/component_site_views.xml +++ b/admin/models/forms/component_site_views.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/component_updates.xml b/admin/models/forms/component_updates.xml index 36a51e618..3f331e82b 100644 --- a/admin/models/forms/component_updates.xml +++ b/admin/models/forms/component_updates.xml @@ -101,6 +101,7 @@ label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_JOOMLA_COMPONENT_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_UPDATES_JOOMLA_COMPONENT_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="true" readonly="true" @@ -112,6 +113,7 @@ name="clone_me" label="COM_COMPONENTBUILDER_COMPONENT_UPDATES_CLONE_ME_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="false" diff --git a/admin/models/forms/custom_admin_view.xml b/admin/models/forms/custom_admin_view.xml index 50fa57b28..87130f20e 100644 --- a/admin/models/forms/custom_admin_view.xml +++ b/admin/models/forms/custom_admin_view.xml @@ -146,6 +146,7 @@ name="main_get" label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MAIN_GET_LABEL" description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MAIN_GET_DESCRIPTION" + layout="joomla.form.field.list-fancy-select" multiple="false" default="" required="true" @@ -274,6 +275,7 @@ label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SNIPPET_LABEL" description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SNIPPET_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" required="false" button="true" @@ -604,6 +606,7 @@ name="dynamic_get" label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_GET_LABEL" description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_GET_DESCRIPTION" + layout="joomla.form.field.list-fancy-select" multiple="false" default="" required="false" diff --git a/admin/models/forms/custom_code.xml b/admin/models/forms/custom_code.xml index 281013d2d..914f41a30 100644 --- a/admin/models/forms/custom_code.xml +++ b/admin/models/forms/custom_code.xml @@ -100,6 +100,7 @@ name="component" label="COM_COMPONENTBUILDER_CUSTOM_CODE_COMPONENT_LABEL" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" default="0" required="true" diff --git a/admin/models/forms/dynamic_get.xml b/admin/models/forms/dynamic_get.xml index cb338f5f4..0afaea5df 100644 --- a/admin/models/forms/dynamic_get.xml +++ b/admin/models/forms/dynamic_get.xml @@ -117,6 +117,7 @@ label="COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_LABEL" description="COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" filter="INT" required="true" @@ -138,6 +139,7 @@ label="COM_COMPONENTBUILDER_DYNAMIC_GET_GETTYPE_LABEL" description="COM_COMPONENTBUILDER_DYNAMIC_GET_GETTYPE_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="false" filter="INT" required="true" @@ -304,6 +306,7 @@ label="COM_COMPONENTBUILDER_DYNAMIC_GET_PLUGIN_EVENTS_LABEL" description="COM_COMPONENTBUILDER_DYNAMIC_GET_PLUGIN_EVENTS_DESCRIPTION" class="list_class" + layout="joomla.form.field.list-fancy-select" multiple="true">