diff --git a/CHANGELOG.md b/CHANGELOG.md
index c5bac9fbb..2b1a3db24 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+# v4.0.0-alpha4
+
+- Fix plugin field selection
+- Fix plugin params tab layout
+- Add issue templates
+- Force autoloader to always load.
+- Fix repeatable layout #1076
+
# v4.0.0-alpha3
- Add fix to the update script, so that upgrading JCB from Joomla 3 to 4 will not fail.
@@ -11,6 +19,9 @@
- First alpha release of Component Builder towards Joomla 4 (very unstable...)
-# v3.2.0-beta6
+# v3.2.0-beta7
-- Fix the plug-in installer script builder bug #1068
\ No newline at end of file
+- Fix plugin field selection
+- Fix plugin params tab layout
+- Add issue templates
+- Force autoloader to always load
\ No newline at end of file
diff --git a/ComponentbuilderInstallerScript.php b/ComponentbuilderInstallerScript.php
index f0caa6e77..1248617ae 100644
--- a/ComponentbuilderInstallerScript.php
+++ b/ComponentbuilderInstallerScript.php
@@ -3146,7 +3146,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
echo '
-
Upgrade to Version 4.0.0-alpha3 Was Successful! Let us know if anything is not working as expected. ';
+ Upgrade to Version 4.0.0-alpha4 Was Successful! Let us know if anything is not working as expected. ';
// Add/Update component in the action logs extensions table.
$this->setActionLogsExtensions();
diff --git a/README.md b/README.md
index e512510bf..2aa07b3c1 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 (4.0.0-alpha3) 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 (4.0.0-alpha4) 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,13 +144,13 @@ 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*: 12th March, 2024
-+ *Version*: 4.0.0-alpha3
++ *Last Build*: 15th March, 2024
++ *Version*: 4.0.0-alpha4
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
-+ *Line count*: **725292**
++ *Line count*: **725351**
+ *Field count*: **2078**
-+ *File count*: **5117**
++ *File count*: **5118**
+ *Folder count*: **518**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
diff --git a/admin/README.txt b/admin/README.txt
index e512510bf..2aa07b3c1 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 (4.0.0-alpha3) 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 (4.0.0-alpha4) 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,13 +144,13 @@ 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*: 12th March, 2024
-+ *Version*: 4.0.0-alpha3
++ *Last Build*: 15th March, 2024
++ *Version*: 4.0.0-alpha4
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
-+ *Line count*: **725292**
++ *Line count*: **725351**
+ *Field count*: **2078**
-+ *File count*: **5117**
++ *File count*: **5118**
+ *Folder count*: **518**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
diff --git a/admin/compiler/joomla_4/ADMIN_VIEW_HTML.php b/admin/compiler/joomla_4/ADMIN_VIEW_HTML.php
index d844a3e12..5e4b702cf 100644
--- a/admin/compiler/joomla_4/ADMIN_VIEW_HTML.php
+++ b/admin/compiler/joomla_4/ADMIN_VIEW_HTML.php
@@ -39,6 +39,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_###component###');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/compiler/joomla_4/SITE_ADMIN_VIEW_HTML.php b/admin/compiler/joomla_4/SITE_ADMIN_VIEW_HTML.php
index 9a5b4b279..0f3cac219 100644
--- a/admin/compiler/joomla_4/SITE_ADMIN_VIEW_HTML.php
+++ b/admin/compiler/joomla_4/SITE_ADMIN_VIEW_HTML.php
@@ -39,6 +39,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_###component###');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/config.xml b/admin/config.xml
index 2b817ab66..0b5497a1e 100644
--- a/admin/config.xml
+++ b/admin/config.xml
@@ -119,7 +119,7 @@
COM_COMPONENTBUILDER_CONFIG_REPEATABLETABLE_JOOMLA
COM_COMPONENTBUILDER_CONFIG_REPEATABLE_JOOMLA
-
+
COM_COMPONENTBUILDER_CONFIG_REPEATABLE_UIKIT
diff --git a/admin/forms/admin_view.xml b/admin/forms/admin_view.xml
index 18da00060..94cc7d3b8 100644
--- a/admin/forms/admin_view.xml
+++ b/admin/forms/admin_view.xml
@@ -458,7 +458,7 @@
name="source"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCE_LABEL"
class="btn-group btn-group-yesno"
- default=""
+ default="0"
required="true">
diff --git a/admin/layouts/repeatablejcb.php b/admin/layouts/repeatablejcb.php
deleted file mode 100644
index 467ab47c8..000000000
--- a/admin/layouts/repeatablejcb.php
+++ /dev/null
@@ -1,103 +0,0 @@
-
- * @git Joomla Component Builder
- * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
- * @license GNU General Public License version 2 or later; see LICENSE.txt
- */
-
-
-
-use Joomla\CMS\Factory;
-use Joomla\CMS\Language\Text;
-use Joomla\CMS\HTML\HTMLHelper as Html;
-use Joomla\CMS\Layout\LayoutHelper;
-use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
-
-// No direct access to this file
-defined('JPATH_BASE') or die;
-
-/**
- * Make thing clear
- *
- * @var JForm $tmpl The Empty form for template
- * @var array $forms Array of JForm instances for render the rows
- * @var bool $multiple The multiple state for the form field
- * @var int $min Count of minimum repeating in multiple mode
- * @var int $max Count of maximum repeating in multiple mode
- * @var string $fieldname The field name
- * @var string $control The forms control
- * @var string $label The field label
- * @var string $description The field description
- * @var array $buttons Array of the buttons that will be rendered
- * @var bool $groupByFieldset Whether group the subform fields by it`s fieldset
- */
-extract($displayData);
-
-// Add script
-Html::_('jquery.ui', array('core', 'sortable'));
-Html::_('script', 'system/subform-repeatable.js', array('version' => 'auto', 'relative' => true));
-
-$sublayout = 'sectionjcb';
-
-?>
-
diff --git a/admin/layouts/repeatablejcbjfive.php b/admin/layouts/repeatablejcbjfive.php
new file mode 100644
index 000000000..82f6e73b4
--- /dev/null
+++ b/admin/layouts/repeatablejcbjfive.php
@@ -0,0 +1,82 @@
+
+ * @git Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+
+
+use Joomla\CMS\Factory;
+use Joomla\CMS\Language\Text;
+use Joomla\CMS\HTML\HTMLHelper as Html;
+use Joomla\CMS\Layout\LayoutHelper;
+use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
+
+// No direct access to this file
+defined('JPATH_BASE') or die;
+
+use Joomla\CMS\Form\Form;
+
+extract($displayData);
+
+/**
+ * Layout variables
+ * -----------------
+ * @var Form $tmpl The Empty form for template
+ * @var array $forms Array of JForm instances for render the rows
+ * @var bool $multiple The multiple state for the form field
+ * @var int $min Count of minimum repeating in multiple mode
+ * @var int $max Count of maximum repeating in multiple mode
+ * @var string $name Name of the input field.
+ * @var string $fieldname The field name
+ * @var string $fieldId The field ID
+ * @var string $control The forms control
+ * @var string $label The field label
+ * @var string $description The field description
+ * @var string $class Classes for the container
+ * @var array $buttons Array of the buttons that will be rendered
+ * @var bool $groupByFieldset Whether group the subform fields by it`s fieldset
+ */
+if ($multiple) {
+ // Add script
+ Factory::getApplication()
+ ->getDocument()
+ ->getWebAssetManager()
+ ->useScript('webcomponent.field-subform');
+}
+
+$class = $class ? ' ' . $class : '';
+
+$sublayout = 'sectionjcbjfive';
+
+?>
+
diff --git a/admin/layouts/sectionjcb.php b/admin/layouts/sectionjcb.php
deleted file mode 100644
index f0051e980..000000000
--- a/admin/layouts/sectionjcb.php
+++ /dev/null
@@ -1,70 +0,0 @@
-
- * @git Joomla Component Builder
- * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
- * @license GNU General Public License version 2 or later; see LICENSE.txt
- */
-
-
-
-use Joomla\CMS\Factory;
-use Joomla\CMS\Language\Text;
-use Joomla\CMS\HTML\HTMLHelper as Html;
-use Joomla\CMS\Layout\LayoutHelper;
-use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
-
-// No direct access to this file
-defined('JPATH_BASE') or die;
-
-/**
- * Make thing clear
- *
- * @var JForm $form The form instance for render the section
- * @var string $basegroup The base group name
- * @var string $group Current group name
- * @var array $buttons Array of the buttons that will be rendered
- */
-extract($displayData);
-
-?>
-
diff --git a/admin/layouts/sectionjcbjfive.php b/admin/layouts/sectionjcbjfive.php
new file mode 100644
index 000000000..5f2c1e1d4
--- /dev/null
+++ b/admin/layouts/sectionjcbjfive.php
@@ -0,0 +1,63 @@
+
+ * @git Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+
+
+use Joomla\CMS\Factory;
+use Joomla\CMS\Language\Text;
+use Joomla\CMS\HTML\HTMLHelper as Html;
+use Joomla\CMS\Layout\LayoutHelper;
+use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
+
+// No direct access to this file
+defined('JPATH_BASE') or die;
+
+use Joomla\CMS\Form\Form;
+
+extract($displayData);
+
+/**
+ * Layout variables
+ * -----------------
+ * @var Form $form The form instance for render the section
+ * @var string $basegroup The base group name
+ * @var string $group Current group name
+ * @var array $buttons Array of the buttons that will be rendered
+ */
+
+?>
+
diff --git a/admin/sql/updates/mysql/3.2.0-beta6.sql b/admin/sql/updates/mysql/3.2.0-beta7.sql
similarity index 100%
rename from admin/sql/updates/mysql/3.2.0-beta6.sql
rename to admin/sql/updates/mysql/3.2.0-beta7.sql
diff --git a/admin/sql/updates/mysql/4.0.0-alpha3.sql b/admin/sql/updates/mysql/4.0.0-alpha3.sql
new file mode 100644
index 000000000..8b1378917
--- /dev/null
+++ b/admin/sql/updates/mysql/4.0.0-alpha3.sql
@@ -0,0 +1 @@
+
diff --git a/admin/src/Field/JoomlapluginsField.php b/admin/src/Field/JoomlapluginsField.php
index a89ae3342..6418591b4 100644
--- a/admin/src/Field/JoomlapluginsField.php
+++ b/admin/src/Field/JoomlapluginsField.php
@@ -178,7 +178,9 @@ class JoomlapluginsField extends ListField
foreach($items as $item)
{
// set a full class name
- $options[] = Html::_('select.option', $item->id, '( ' . $item->plugin_system_name . ' ) class Plg' . ucfirst($item->joomla_plugin_group_name) . $item->name . ' extends ' . $item->class_extends_name);
+ $group_name = $item->joomla_plugin_group_name ?? '';
+ $name = $item->name ?? '';
+ $options[] = Html::_('select.option', $item->id, '( ' . $item->plugin_system_name . ' ) class Plg' . $group_name . $name . ' extends ' . $item->class_extends_name);
}
}
return $options;
diff --git a/admin/src/Helper/ComponentbuilderHelper.php b/admin/src/Helper/ComponentbuilderHelper.php
index c639613e9..936dda512 100644
--- a/admin/src/Helper/ComponentbuilderHelper.php
+++ b/admin/src/Helper/ComponentbuilderHelper.php
@@ -5484,12 +5484,12 @@ abstract class ComponentbuilderHelper
*
* @returns string on success
**/
- public static function getSubformLayout($view, $field, $default = 'repeatablejcb')
+ public static function getSubformLayout($view, $field, $default = 'joomla.form.field.subform.repeatable-table')
{
// get global values
if (self::$subformLayouts === false)
{
- self::$subformLayouts = \JComponentHelper::getParams('com_componentbuilder')->get('subform_layouts', false);
+ self::$subformLayouts = ComponentHelper::getParams('com_componentbuilder')->get('subform_layouts', false);
}
// check what we found (else) return default
if (ObjectHelper::check(self::$subformLayouts))
diff --git a/admin/src/View/Admin_custom_tabs/HtmlView.php b/admin/src/View/Admin_custom_tabs/HtmlView.php
index 37c43eaef..dc63152cf 100644
--- a/admin/src/View/Admin_custom_tabs/HtmlView.php
+++ b/admin/src/View/Admin_custom_tabs/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Admin_fields/HtmlView.php b/admin/src/View/Admin_fields/HtmlView.php
index 2afdfd006..f23147b20 100644
--- a/admin/src/View/Admin_fields/HtmlView.php
+++ b/admin/src/View/Admin_fields/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Admin_fields_conditions/HtmlView.php b/admin/src/View/Admin_fields_conditions/HtmlView.php
index bd8e5b4f5..dcc1ce80a 100644
--- a/admin/src/View/Admin_fields_conditions/HtmlView.php
+++ b/admin/src/View/Admin_fields_conditions/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Admin_fields_relations/HtmlView.php b/admin/src/View/Admin_fields_relations/HtmlView.php
index 03ad7db30..057a8fbd1 100644
--- a/admin/src/View/Admin_fields_relations/HtmlView.php
+++ b/admin/src/View/Admin_fields_relations/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Admin_view/HtmlView.php b/admin/src/View/Admin_view/HtmlView.php
index 90dc9ffe6..13f5aa3b8 100644
--- a/admin/src/View/Admin_view/HtmlView.php
+++ b/admin/src/View/Admin_view/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Class_extends/HtmlView.php b/admin/src/View/Class_extends/HtmlView.php
index 118acfb89..b1fd7eb13 100644
--- a/admin/src/View/Class_extends/HtmlView.php
+++ b/admin/src/View/Class_extends/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Class_method/HtmlView.php b/admin/src/View/Class_method/HtmlView.php
index 56262dc3f..377274941 100644
--- a/admin/src/View/Class_method/HtmlView.php
+++ b/admin/src/View/Class_method/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Class_property/HtmlView.php b/admin/src/View/Class_property/HtmlView.php
index 1a3aa1e1c..061f77333 100644
--- a/admin/src/View/Class_property/HtmlView.php
+++ b/admin/src/View/Class_property/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Compiler/HtmlView.php b/admin/src/View/Compiler/HtmlView.php
index e058a4f43..5cc68bcc7 100644
--- a/admin/src/View/Compiler/HtmlView.php
+++ b/admin/src/View/Compiler/HtmlView.php
@@ -128,8 +128,8 @@ class HtmlView extends BaseHtmlView
}
// These are subform layouts used in JCB
- // LayoutHelper::render('sectionjcb', [?]); // added to ensure the layout are loaded
- // LayoutHelper::render('repeatablejcb', [?]); // added to ensure the layout are loaded
+ // LayoutHelper::render('sectionjcbjfive', [?]); // added to ensure the layout are loaded
+ // LayoutHelper::render('repeatablejcbjfive', [?]); // added to ensure the layout are loaded
/**
* Get the dynamic build form fields needed on the page
diff --git a/admin/src/View/Component_admin_views/HtmlView.php b/admin/src/View/Component_admin_views/HtmlView.php
index 0b3e9fd79..6535f01be 100644
--- a/admin/src/View/Component_admin_views/HtmlView.php
+++ b/admin/src/View/Component_admin_views/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_config/HtmlView.php b/admin/src/View/Component_config/HtmlView.php
index 1397fa1e7..98e392263 100644
--- a/admin/src/View/Component_config/HtmlView.php
+++ b/admin/src/View/Component_config/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_custom_admin_menus/HtmlView.php b/admin/src/View/Component_custom_admin_menus/HtmlView.php
index dcc16c40b..74815e200 100644
--- a/admin/src/View/Component_custom_admin_menus/HtmlView.php
+++ b/admin/src/View/Component_custom_admin_menus/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_custom_admin_views/HtmlView.php b/admin/src/View/Component_custom_admin_views/HtmlView.php
index 01b290008..333f991db 100644
--- a/admin/src/View/Component_custom_admin_views/HtmlView.php
+++ b/admin/src/View/Component_custom_admin_views/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_dashboard/HtmlView.php b/admin/src/View/Component_dashboard/HtmlView.php
index cbbc74fab..a2f5ca03a 100644
--- a/admin/src/View/Component_dashboard/HtmlView.php
+++ b/admin/src/View/Component_dashboard/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_files_folders/HtmlView.php b/admin/src/View/Component_files_folders/HtmlView.php
index 316636bdc..ea1b694d6 100644
--- a/admin/src/View/Component_files_folders/HtmlView.php
+++ b/admin/src/View/Component_files_folders/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_modules/HtmlView.php b/admin/src/View/Component_modules/HtmlView.php
index 64db1e266..a43affa07 100644
--- a/admin/src/View/Component_modules/HtmlView.php
+++ b/admin/src/View/Component_modules/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_mysql_tweaks/HtmlView.php b/admin/src/View/Component_mysql_tweaks/HtmlView.php
index 7b5494ee1..caa8980a2 100644
--- a/admin/src/View/Component_mysql_tweaks/HtmlView.php
+++ b/admin/src/View/Component_mysql_tweaks/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_placeholders/HtmlView.php b/admin/src/View/Component_placeholders/HtmlView.php
index 26375a67e..54695b3c4 100644
--- a/admin/src/View/Component_placeholders/HtmlView.php
+++ b/admin/src/View/Component_placeholders/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_plugins/HtmlView.php b/admin/src/View/Component_plugins/HtmlView.php
index 6e3db36fb..ddeaaa997 100644
--- a/admin/src/View/Component_plugins/HtmlView.php
+++ b/admin/src/View/Component_plugins/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_router/HtmlView.php b/admin/src/View/Component_router/HtmlView.php
index e910b1c4c..cb689b998 100644
--- a/admin/src/View/Component_router/HtmlView.php
+++ b/admin/src/View/Component_router/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_site_views/HtmlView.php b/admin/src/View/Component_site_views/HtmlView.php
index 0f8533e29..984ca338d 100644
--- a/admin/src/View/Component_site_views/HtmlView.php
+++ b/admin/src/View/Component_site_views/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Component_updates/HtmlView.php b/admin/src/View/Component_updates/HtmlView.php
index 2f46b0110..7f1563600 100644
--- a/admin/src/View/Component_updates/HtmlView.php
+++ b/admin/src/View/Component_updates/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Custom_admin_view/HtmlView.php b/admin/src/View/Custom_admin_view/HtmlView.php
index 9dbb11522..a1c03473c 100644
--- a/admin/src/View/Custom_admin_view/HtmlView.php
+++ b/admin/src/View/Custom_admin_view/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Custom_code/HtmlView.php b/admin/src/View/Custom_code/HtmlView.php
index 1f6fd45e6..51677d331 100644
--- a/admin/src/View/Custom_code/HtmlView.php
+++ b/admin/src/View/Custom_code/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Dynamic_get/HtmlView.php b/admin/src/View/Dynamic_get/HtmlView.php
index 4aedef652..7bae2e5a0 100644
--- a/admin/src/View/Dynamic_get/HtmlView.php
+++ b/admin/src/View/Dynamic_get/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Field/HtmlView.php b/admin/src/View/Field/HtmlView.php
index b10e1e392..5c0a972a4 100644
--- a/admin/src/View/Field/HtmlView.php
+++ b/admin/src/View/Field/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Fieldtype/HtmlView.php b/admin/src/View/Fieldtype/HtmlView.php
index 8e035ea6b..4b0b71e79 100644
--- a/admin/src/View/Fieldtype/HtmlView.php
+++ b/admin/src/View/Fieldtype/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Help_document/HtmlView.php b/admin/src/View/Help_document/HtmlView.php
index 56a920f7e..3626fac8e 100644
--- a/admin/src/View/Help_document/HtmlView.php
+++ b/admin/src/View/Help_document/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Joomla_component/HtmlView.php b/admin/src/View/Joomla_component/HtmlView.php
index b281adcba..f218cb257 100644
--- a/admin/src/View/Joomla_component/HtmlView.php
+++ b/admin/src/View/Joomla_component/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Joomla_module/HtmlView.php b/admin/src/View/Joomla_module/HtmlView.php
index 791b1d494..df2f72702 100644
--- a/admin/src/View/Joomla_module/HtmlView.php
+++ b/admin/src/View/Joomla_module/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Joomla_module_files_folders_urls/HtmlView.php b/admin/src/View/Joomla_module_files_folders_urls/HtmlView.php
index 58a092bc8..8151f0d3e 100644
--- a/admin/src/View/Joomla_module_files_folders_urls/HtmlView.php
+++ b/admin/src/View/Joomla_module_files_folders_urls/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Joomla_module_updates/HtmlView.php b/admin/src/View/Joomla_module_updates/HtmlView.php
index 227a4ab12..8cb2c181e 100644
--- a/admin/src/View/Joomla_module_updates/HtmlView.php
+++ b/admin/src/View/Joomla_module_updates/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Joomla_plugin/HtmlView.php b/admin/src/View/Joomla_plugin/HtmlView.php
index e828adf82..d51af8deb 100644
--- a/admin/src/View/Joomla_plugin/HtmlView.php
+++ b/admin/src/View/Joomla_plugin/HtmlView.php
@@ -49,6 +49,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Joomla_plugin_files_folders_urls/HtmlView.php b/admin/src/View/Joomla_plugin_files_folders_urls/HtmlView.php
index b7e9d6513..06ece7e32 100644
--- a/admin/src/View/Joomla_plugin_files_folders_urls/HtmlView.php
+++ b/admin/src/View/Joomla_plugin_files_folders_urls/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Joomla_plugin_group/HtmlView.php b/admin/src/View/Joomla_plugin_group/HtmlView.php
index 525996ca8..9e956e40b 100644
--- a/admin/src/View/Joomla_plugin_group/HtmlView.php
+++ b/admin/src/View/Joomla_plugin_group/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Joomla_plugin_updates/HtmlView.php b/admin/src/View/Joomla_plugin_updates/HtmlView.php
index d7a934ff6..4e5e1f434 100644
--- a/admin/src/View/Joomla_plugin_updates/HtmlView.php
+++ b/admin/src/View/Joomla_plugin_updates/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Language/HtmlView.php b/admin/src/View/Language/HtmlView.php
index 1bb4f28e0..7b1c0cee4 100644
--- a/admin/src/View/Language/HtmlView.php
+++ b/admin/src/View/Language/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Language_translation/HtmlView.php b/admin/src/View/Language_translation/HtmlView.php
index c1270bc49..7488da3ee 100644
--- a/admin/src/View/Language_translation/HtmlView.php
+++ b/admin/src/View/Language_translation/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Layout/HtmlView.php b/admin/src/View/Layout/HtmlView.php
index 63901109a..117182e15 100644
--- a/admin/src/View/Layout/HtmlView.php
+++ b/admin/src/View/Layout/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Library/HtmlView.php b/admin/src/View/Library/HtmlView.php
index 32a068698..0016ca0eb 100644
--- a/admin/src/View/Library/HtmlView.php
+++ b/admin/src/View/Library/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Library_config/HtmlView.php b/admin/src/View/Library_config/HtmlView.php
index 1a2c3561a..89c1c6fed 100644
--- a/admin/src/View/Library_config/HtmlView.php
+++ b/admin/src/View/Library_config/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Library_files_folders_urls/HtmlView.php b/admin/src/View/Library_files_folders_urls/HtmlView.php
index 25eb4bc47..b6cb94f05 100644
--- a/admin/src/View/Library_files_folders_urls/HtmlView.php
+++ b/admin/src/View/Library_files_folders_urls/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Placeholder/HtmlView.php b/admin/src/View/Placeholder/HtmlView.php
index 01bbe3fcf..b50736098 100644
--- a/admin/src/View/Placeholder/HtmlView.php
+++ b/admin/src/View/Placeholder/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Power/HtmlView.php b/admin/src/View/Power/HtmlView.php
index a0631aeb6..9cc29ec68 100644
--- a/admin/src/View/Power/HtmlView.php
+++ b/admin/src/View/Power/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Server/HtmlView.php b/admin/src/View/Server/HtmlView.php
index df9bfac5a..4d3ac65bc 100644
--- a/admin/src/View/Server/HtmlView.php
+++ b/admin/src/View/Server/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Site_view/HtmlView.php b/admin/src/View/Site_view/HtmlView.php
index 8e497e9e6..a96a2f202 100644
--- a/admin/src/View/Site_view/HtmlView.php
+++ b/admin/src/View/Site_view/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Snippet/HtmlView.php b/admin/src/View/Snippet/HtmlView.php
index 047e3991e..4c7707eed 100644
--- a/admin/src/View/Snippet/HtmlView.php
+++ b/admin/src/View/Snippet/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Snippet_type/HtmlView.php b/admin/src/View/Snippet_type/HtmlView.php
index d0292f157..8b40bbc51 100644
--- a/admin/src/View/Snippet_type/HtmlView.php
+++ b/admin/src/View/Snippet_type/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Template/HtmlView.php b/admin/src/View/Template/HtmlView.php
index 3854e8a93..4115df67f 100644
--- a/admin/src/View/Template/HtmlView.php
+++ b/admin/src/View/Template/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/admin/src/View/Validation_rule/HtmlView.php b/admin/src/View/Validation_rule/HtmlView.php
index 7e7dfbcea..c6ff43507 100644
--- a/admin/src/View/Validation_rule/HtmlView.php
+++ b/admin/src/View/Validation_rule/HtmlView.php
@@ -48,6 +48,7 @@ class HtmlView extends BaseHtmlView
{
// set params
$this->params = ComponentHelper::getParams('com_componentbuilder');
+ $this->useCoreUI = true;
// Assign the variables
$this->form = $this->get('Form');
$this->item = $this->get('Item');
diff --git a/componentbuilder.xml b/componentbuilder.xml
index f97bb9059..06a5d2db2 100644
--- a/componentbuilder.xml
+++ b/componentbuilder.xml
@@ -1,15 +1,15 @@
COM_COMPONENTBUILDER
- 12th March, 2024
+ 15th March, 2024
Llewellyn van der Merwe
joomla@vdm.io
https://dev.vdm.io
Copyright (C) 2015 Vast Development Method. All rights reserved.
GNU General Public License version 2 or later; see LICENSE.txt
- 4.0.0-alpha3
+ 4.0.0-alpha4
Component Builder (v.4.0.0-alpha3)
+ Component Builder (v.4.0.0-alpha4)
The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time.
diff --git a/componentbuilder_update_server.xml b/componentbuilder_update_server.xml
index 22908dcd0..2d21c7349 100644
--- a/componentbuilder_update_server.xml
+++ b/componentbuilder_update_server.xml
@@ -5,10 +5,10 @@
pkg_component_builder
package
site
- 3.2.0-beta6
+ 3.2.0-beta7
https://dev.vdm.io
- https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.0-beta6.zip
+ https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.0-beta7.zip
beta
@@ -71,4 +71,22 @@
https://dev.vdm.io
+
+ Component Builder
+ Builds Complex Joomla Components
+ pkg_component_builder
+ package
+ site
+ 4.0.0-alpha4
+ https://dev.vdm.io
+
+ https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha4.zip
+
+
+ alpha
+
+ Llewellyn van der Merwe
+ https://dev.vdm.io
+
+
\ No newline at end of file
diff --git a/libraries/jcb_powers/VDM.Joomla/src/Componentbuilder/Compiler/Power/Autoloader.php b/libraries/jcb_powers/VDM.Joomla/src/Componentbuilder/Compiler/Power/Autoloader.php
index 5135b5088..648692171 100644
--- a/libraries/jcb_powers/VDM.Joomla/src/Componentbuilder/Compiler/Power/Autoloader.php
+++ b/libraries/jcb_powers/VDM.Joomla/src/Componentbuilder/Compiler/Power/Autoloader.php
@@ -150,7 +150,10 @@ class Autoloader
// for now we load it if the plugin is not loaded
// but we may want to add a switch that
// controls this behaviour.
- return !$this->loadPluginAutoloader();
+ // return !$this->loadPluginAutoloader();
+ // lets load it anyway (can't break anything)
+ // but we will still like a switch for this
+ return true;
}
/**