Release of v5.0.0-alpha4

Fix plugin field selection. Fix plugin params tab layout. Add issue templates. Force autoloader to always load. Fix repeatable layout #1076.
This commit is contained in:
Robot 2024-03-15 12:26:29 +02:00
parent 4ef96e9931
commit 8deb178d7c
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
70 changed files with 265 additions and 203 deletions

View File

@ -1,3 +1,11 @@
# v5.0.0-alpha4
- Fix plugin field selection
- Fix plugin params tab layout
- Add issue templates
- Force autoloader to always load
- Fix repeatable layout #1076
# v5.0.0-alpha3
- Add fix to the update script, so that upgrading JCB from Joomla 4 to 5 will not fail.
@ -11,10 +19,17 @@
- First alpha release of Component Builder towards Joomla 5 (very unstable...)
# v4.0.0-alpha3
# v4.0.0-alpha4
- Add fix to the update script, so that upgrading JCB from Joomla 3 to 4 will not fail.
- Fix plugin field selection
- Fix plugin params tab layout
- Add issue templates
- Force autoloader to always load
- Fix repeatable layout #1076
# v3.2.0-beta6
# v3.2.0-beta7
- Fix the plug-in installer script builder bug #1068
- Fix plugin field selection
- Fix plugin params tab layout
- Add issue templates
- Force autoloader to always load

View File

@ -3146,7 +3146,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://dev.vdm.io" title="Component Builder">
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
</a>
<h3>Upgrade to Version 5.0.0-alpha3 Was Successful! Let us know if anything is not working as expected.</h3></div>';
<h3>Upgrade to Version 5.0.0-alpha4 Was Successful! Let us know if anything is not working as expected.</h3></div>';
// Add/Update component in the action logs extensions table.
$this->setActionLogsExtensions();

View File

@ -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 (5.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 (5.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*: 5.0.0-alpha3
+ *Last Build*: 15th March, 2024
+ *Version*: 5.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*: **725315**
+ *Line count*: **725378**
+ *Field count*: **2078**
+ *File count*: **5118**
+ *File count*: **5119**
+ *Folder count*: **518**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).

View File

@ -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 (5.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 (5.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*: 5.0.0-alpha3
+ *Last Build*: 15th March, 2024
+ *Version*: 5.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*: **725315**
+ *Line count*: **725378**
+ *Field count*: **2078**
+ *File count*: **5118**
+ *File count*: **5119**
+ *Folder count*: **518**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).

View File

@ -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');

View File

@ -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');

View File

@ -119,7 +119,7 @@
COM_COMPONENTBUILDER_CONFIG_REPEATABLETABLE_JOOMLA</option>
<option value="joomla.form.field.subform.repeatable">
COM_COMPONENTBUILDER_CONFIG_REPEATABLE_JOOMLA</option>
<option value="repeatablejcb">
<option value="repeatablejcbjfive">
COM_COMPONENTBUILDER_CONFIG_REPEATABLE_UIKIT</option>
</field>
</form>

View File

@ -458,7 +458,7 @@
name="source"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCE_LABEL"
class="btn-group btn-group-yesno"
default=""
default="0"
required="true">
<!-- Option Set. -->
<option value="1">

View File

@ -1,103 +0,0 @@
<?php
/**
* @package Joomla.Component.Builder
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <https://dev.vdm.io>
* @git Joomla Component Builder <https://git.vdm.dev/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';
?>
<div class="row-fluid">
<div class="subform-repeatable-wrapper subform-layout">
<div class="subform-repeatable"
data-bt-add="a.group-add-<?php echo $unique_subform_id; ?>"
data-bt-remove="a.group-remove-<?php echo $unique_subform_id; ?>"
data-bt-move="a.group-move-<?php echo $unique_subform_id; ?>"
data-repeatable-element="div.subform-repeatable-jcb-group-<?php echo $unique_subform_id; ?>"
data-minimum="<?php echo $min; ?>" data-maximum="<?php echo $max; ?>"
>
<?php if (!empty($buttons['add'])) : ?>
<div class="btn-toolbar">
<div class="btn-group">
<a class="btn btn-mini button btn-success group-add group-add-<?php echo $unique_subform_id; ?>" aria-label="<?php echo Text::_('COM_COMPONENTBUILDER_ADD'); ?>">
<span class="icon-plus" aria-hidden="true"></span>
</a>
</div>
</div>
<?php endif; ?>
<?php
foreach ($forms as $k => $form) :
echo LayoutHelper::render(
$sublayout,
array(
'form' => $form,
'basegroup' => $fieldname,
'group' => $fieldname . $k,
'buttons' => $buttons,
'unique_subform_id' => $unique_subform_id
)
);
endforeach;
?>
<?php if ($multiple) : ?>
<template class="subform-repeatable-template-section" style="display: none;"><?php
// Use str_replace to escape HTML in a simple way, it need for IE compatibility, and should be removed later
echo str_replace(
array('<', '>'),
array('SUBFORMLT', 'SUBFORMGT'),
trim(
LayoutHelper::render(
$sublayout,
array(
'form' => $tmpl,
'basegroup' => $fieldname,
'group' => $fieldname . 'X',
'buttons' => $buttons,
'unique_subform_id' => $unique_subform_id
)
)
)
);
?></template>
<?php endif; ?>
</div>
</div>
</div>

View File

@ -0,0 +1,82 @@
<?php
/**
* @package Joomla.Component.Builder
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <https://dev.vdm.io>
* @git Joomla Component Builder <https://git.vdm.dev/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';
?>
<div class="subform-repeatable-wrapper subform-layout">
<joomla-field-subform class="subform-repeatable<?php echo $class; ?>" name="<?php echo $name; ?>"
button-add=".group-add" button-remove=".group-remove" button-move="<?php echo empty($buttons['move']) ? '' : '.group-move' ?>"
repeatable-element=".subform-repeatable-group" minimum="<?php echo $min; ?>" maximum="<?php echo $max; ?>">
<?php if (!empty($buttons['add'])) : ?>
<div class="btn-toolbar">
<div class="btn-group">
<button type="button" class="group-add btn btn-sm button btn-success" aria-label="<?php echo Text::_('COM_COMPONENTBUILDER_ADD'); ?>">
<span class="icon-plus icon-white" aria-hidden="true"></span>
</button>
</div>
</div>
<?php endif; ?>
<?php
foreach ($forms as $k => $form) :
echo $this->sublayout($sublayout, ['form' => $form, 'basegroup' => $fieldname, 'group' => $fieldname . $k, 'buttons' => $buttons]);
endforeach;
?>
<?php if ($multiple) : ?>
<template class="subform-repeatable-template-section hidden"><?php
echo trim($this->sublayout($sublayout, ['form' => $tmpl, 'basegroup' => $fieldname, 'group' => $fieldname . 'X', 'buttons' => $buttons]));
?></template>
<?php endif; ?>
</joomla-field-subform>
</div>

View File

@ -1,70 +0,0 @@
<?php
/**
* @package Joomla.Component.Builder
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <https://dev.vdm.io>
* @git Joomla Component Builder <https://git.vdm.dev/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);
?>
<div
class="subform-repeatable-group subform-repeatable-jcb-group-<?php echo $unique_subform_id; ?>"
data-base-name="<?php echo $basegroup; ?>"
data-group="<?php echo $group; ?>"
>
<?php if (!empty($buttons)) : ?>
<div class="btn-toolbar text-right">
<div class="btn-group">
<?php if (!empty($buttons['add'])) : ?>
<a class="btn btn-mini button btn-success group-add group-add-<?php echo $unique_subform_id; ?>" aria-label="<?php echo Text::_('COM_COMPONENTBUILDER_ADD'); ?>">
<span class="icon-plus" aria-hidden="true"></span>
</a>
<?php endif; ?>
<?php if (!empty($buttons['remove'])) : ?>
<a class="btn btn-mini button btn-danger group-remove group-remove-<?php echo $unique_subform_id; ?>" aria-label="<?php echo Text::_('COM_COMPONENTBUILDER_REMOVE'); ?>">
<span class="icon-minus" aria-hidden="true"></span>
</a>
<?php endif; ?>
<?php if (!empty($buttons['move'])) : ?>
<a class="btn btn-mini button btn-primary group-move group-move-<?php echo $unique_subform_id; ?>" aria-label="<?php echo Text::_('COM_COMPONENTBUILDER_MOVE'); ?>">
<span class="icon-move" aria-hidden="true"></span>
</a>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<div data-uk-grid-margin="" class="uk-grid">
<?php foreach ($form->getGroup('') as $field) : ?>
<div class="uk-width-medium-1-4 uk-width-large-1-5">
<div class="uk-panel">
<?php echo $field->renderField(); ?>
</div>
</div>
<?php endforeach; ?>
</div>
</div>

View File

@ -0,0 +1,63 @@
<?php
/**
* @package Joomla.Component.Builder
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <https://dev.vdm.io>
* @git Joomla Component Builder <https://git.vdm.dev/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
*/
?>
<div class="subform-repeatable-group" data-base-name="<?php echo $basegroup; ?>" data-group="<?php echo $group; ?>">
<?php if (!empty($buttons)) : ?>
<div class="btn-toolbar text-end">
<div class="btn-group">
<?php if (!empty($buttons['add'])) :
?><button type="button" class="group-add btn btn-sm btn-success" aria-label="<?php echo Text::_('COM_COMPONENTBUILDER_ADD'); ?>"><span class="icon-plus icon-white" aria-hidden="true"></span> </button><?php
endif; ?>
<?php if (!empty($buttons['remove'])) :
?><button type="button" class="group-remove btn btn-sm btn-danger" aria-label="<?php echo Text::_('COM_COMPONENTBUILDER_REMOVE'); ?>"><span class="icon-minus icon-white" aria-hidden="true"></span> </button><?php
endif; ?>
<?php if (!empty($buttons['move'])) :
?><button type="button" class="group-move btn btn-sm btn-primary" aria-label="<?php echo Text::_('COM_COMPONENTBUILDER_MOVE'); ?>"><span class="icon-arrows-alt icon-white" aria-hidden="true"></span> </button><?php
endif; ?>
</div>
</div>
<?php endif; ?>
<div data-uk-grid-margin="" class="uk-grid">
<?php foreach ($form->getGroup('') as $field) : ?>
<div class="uk-width-medium-1-4 uk-width-large-1-5">
<div class="uk-panel">
<?php echo $field->renderField(); ?>
</div>
</div>
<?php endforeach; ?>
</div>
</div>

View File

@ -0,0 +1 @@

View File

@ -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;

View File

@ -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))

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="5.0" method="upgrade">
<name>COM_COMPONENTBUILDER</name>
<creationDate>12th March, 2024</creationDate>
<creationDate>15th March, 2024</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>joomla@vdm.io</authorEmail>
<authorUrl>https://dev.vdm.io</authorUrl>
<copyright>Copyright (C) 2015 Vast Development Method. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<version>5.0.0-alpha3</version>
<version>5.0.0-alpha4</version>
<description><![CDATA[
<h1>Component Builder (v.5.0.0-alpha3)</h1>
<h1>Component Builder (v.5.0.0-alpha4)</h1>
<div style="clear: both;"></div>
<p>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.

View File

@ -5,10 +5,10 @@
<element>pkg_component_builder</element>
<type>package</type>
<client>site</client>
<version>3.2.0-beta6</version>
<version>3.2.0-beta7</version>
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
<downloads>
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.0-beta6.zip</downloadurl>
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.0-beta7.zip</downloadurl>
</downloads>
<tags>
<tag>beta</tag>
@ -23,10 +23,10 @@
<element>pkg_component_builder</element>
<type>package</type>
<client>site</client>
<version>4.0.0-alpha3</version>
<version>4.0.0-alpha4</version>
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
<downloads>
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha3.zip</downloadurl>
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha4.zip</downloadurl>
</downloads>
<tags>
<tag>alpha</tag>
@ -89,4 +89,22 @@
<maintainerurl>https://dev.vdm.io</maintainerurl>
<targetplatform name="joomla" version="5\.[01]"/>
</update>
<update>
<name>Component Builder</name>
<description>Builds Complex Joomla Components</description>
<element>pkg_component_builder</element>
<type>package</type>
<client>site</client>
<version>5.0.0-alpha4</version>
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
<downloads>
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v5.0.0-alpha4.zip</downloadurl>
</downloads>
<tags>
<tag>alpha</tag>
</tags>
<maintainer>Llewellyn van der Merwe</maintainer>
<maintainerurl>https://dev.vdm.io</maintainerurl>
<targetplatform name="joomla" version="5\.[01]"/>
</update>
</updates>

View File

@ -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;
}
/**