forked from joomla/Component-Builder
Release of 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.
This commit is contained in:
parent
d5a2f70c0c
commit
9fe4823468
15
CHANGELOG.md
15
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
|
||||
- Fix plugin field selection
|
||||
- Fix plugin params tab layout
|
||||
- Add issue templates
|
||||
- Force autoloader to always load
|
@ -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 4.0.0-alpha3 Was Successful! Let us know if anything is not working as expected.</h3></div>';
|
||||
<h3>Upgrade to Version 4.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();
|
||||
|
10
README.md
10
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).
|
||||
|
@ -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).
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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>
|
||||
|
@ -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">
|
||||
|
@ -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>
|
82
admin/layouts/repeatablejcbjfive.php
Normal file
82
admin/layouts/repeatablejcbjfive.php
Normal 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>
|
@ -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>
|
63
admin/layouts/sectionjcbjfive.php
Normal file
63
admin/layouts/sectionjcbjfive.php
Normal 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>
|
1
admin/sql/updates/mysql/4.0.0-alpha3.sql
Normal file
1
admin/sql/updates/mysql/4.0.0-alpha3.sql
Normal file
@ -0,0 +1 @@
|
||||
|
@ -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;
|
||||
|
@ -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))
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -1,15 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="component" version="4.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>4.0.0-alpha3</version>
|
||||
<version>4.0.0-alpha4</version>
|
||||
<description><![CDATA[
|
||||
<h1>Component Builder (v.4.0.0-alpha3)</h1>
|
||||
<h1>Component Builder (v.4.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.
|
||||
|
||||
|
@ -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>
|
||||
@ -71,4 +71,22 @@
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="4\.[1234]"/>
|
||||
</update>
|
||||
<update>
|
||||
<name>Component Builder</name>
|
||||
<description>Builds Complex Joomla Components</description>
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<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-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="4\.[1234]"/>
|
||||
</update>
|
||||
</updates>
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user