Release of v3.2.3-alpha2

Fix missing scripts and styles fields and methods in the site admin view model. Update subform field layout across JCB for cleaner look. Remove expansion feature. Fix helper area.
This commit is contained in:
2024-07-26 18:33:01 +02:00
parent fd08d48baf
commit c55fc67db4
56 changed files with 246 additions and 898 deletions

View File

@ -154,11 +154,6 @@ class ComponentbuilderViewAdmin_views extends HtmlView
ToolbarHelper::custom('admin_views.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true);
}
}
if ($this->user->authorise('admin_view.run_expansion', 'com_componentbuilder'))
{
// add Run Expansion button.
ToolbarHelper::custom('admin_views.runExpansion', 'expand-2 custom-button-runexpansion', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
}
if ($this->canDo->get('core.import') && $this->canDo->get('admin_view.import'))
{

View File

@ -762,11 +762,6 @@ class ComponentbuilderViewCompiler extends HtmlView
ToolbarHelper::title(Text::_('COM_COMPONENTBUILDER_COMPILER'),'cogs');
// add cpanel button
ToolbarHelper::custom('compiler.dashboard', 'grid-2', '', 'COM_COMPONENTBUILDER_DASH', false);
if ($this->canDo->get('compiler.run_expansion'))
{
// add Run Expansion button.
ToolbarHelper::custom('compiler.runExpansion', 'expand-2 custom-button-runexpansion', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
}
if ($this->canDo->get('compiler.translate'))
{
// add Translate button.

View File

@ -154,11 +154,6 @@ class ComponentbuilderViewDynamic_gets extends HtmlView
ToolbarHelper::custom('dynamic_gets.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true);
}
}
if ($this->user->authorise('dynamic_get.run_expansion', 'com_componentbuilder'))
{
// add Run Expansion button.
ToolbarHelper::custom('dynamic_gets.runExpansion', 'expand-2 custom-button-runexpansion', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
}
if ($this->canDo->get('core.import') && $this->canDo->get('dynamic_get.import'))
{

View File

@ -154,11 +154,6 @@ class ComponentbuilderViewFields extends HtmlView
ToolbarHelper::custom('fields.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true);
}
}
if ($this->user->authorise('field.run_expansion', 'com_componentbuilder'))
{
// add Run Expansion button.
ToolbarHelper::custom('fields.runExpansion', 'expand-2 custom-button-runexpansion', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
}
if ($this->canDo->get('core.import') && $this->canDo->get('field.import'))
{

View File

@ -169,11 +169,6 @@ class ComponentbuilderViewJoomla_components extends HtmlView
// add Import JCB Packages button.
ToolbarHelper::custom('joomla_components.smartImport', 'upload custom-button-smartimport', '', 'COM_COMPONENTBUILDER_IMPORT_JCB_PACKAGES', false);
}
if ($this->user->authorise('joomla_component.run_expansion', 'com_componentbuilder'))
{
// add Run Expansion button.
ToolbarHelper::custom('joomla_components.runExpansion', 'expand-2 custom-button-runexpansion', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
}
if ($this->user->authorise('joomla_component.backup', 'com_componentbuilder'))
{
// add Backup button.

View File

@ -159,11 +159,6 @@ class ComponentbuilderViewJoomla_modules extends HtmlView
// add Get Snippets button.
ToolbarHelper::custom('joomla_modules.getSnippets', 'search custom-button-getsnippets', '', 'COM_COMPONENTBUILDER_GET_SNIPPETS', false);
}
if ($this->user->authorise('joomla_module.run_expansion', 'com_componentbuilder'))
{
// add Run Expansion button.
ToolbarHelper::custom('joomla_modules.runExpansion', 'expand-2 custom-button-runexpansion', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
}
if ($this->canDo->get('core.import') && $this->canDo->get('joomla_module.import'))
{

View File

@ -149,11 +149,6 @@ class ComponentbuilderViewJoomla_plugins extends HtmlView
ToolbarHelper::trash('joomla_plugins.trash');
}
}
if ($this->user->authorise('joomla_plugin.run_expansion', 'com_componentbuilder'))
{
// add Run Expansion button.
ToolbarHelper::custom('joomla_plugins.runExpansion', 'expand-2 custom-button-runexpansion', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
}
if ($this->user->authorise('joomla_plugin.get_boilerplate', 'com_componentbuilder'))
{
// add Get Boilerplate button.

View File

@ -149,11 +149,6 @@ class ComponentbuilderViewPowers extends HtmlView
ToolbarHelper::trash('powers.trash');
}
}
if ($this->user->authorise('power.run_expansion', 'com_componentbuilder'))
{
// add Run Expansion button.
ToolbarHelper::custom('powers.runExpansion', 'expand-2 custom-button-runexpansion', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
}
if ($this->user->authorise('power.init', 'com_componentbuilder'))
{
// add Init button.

View File

@ -154,11 +154,6 @@ class ComponentbuilderViewValidation_rules extends HtmlView
ToolbarHelper::custom('validation_rules.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true);
}
}
if ($this->user->authorise('validation_rule.run_expansion', 'com_componentbuilder'))
{
// add Run Expansion button.
ToolbarHelper::custom('validation_rules.runExpansion', 'expand-2 custom-button-runexpansion', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
}
if ($this->canDo->get('core.import') && $this->canDo->get('validation_rule.import'))
{