Release of v3.2.4-alpha3

Fix usergrouplist compiler triggers. #1100.
This commit is contained in:
2024-08-23 18:12:51 +02:00
parent 209f625923
commit 6c2f52f59f
45 changed files with 1663 additions and 140 deletions

View File

@@ -154,6 +154,21 @@ class ComponentbuilderViewFieldtypes extends HtmlView
ToolbarHelper::custom('fieldtypes.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true);
}
}
if ($this->user->authorise('fieldtype.init', 'com_componentbuilder'))
{
// add Init button.
ToolbarHelper::custom('fieldtypes.initPowers', 'health custom-button-initpowers', '', 'COM_COMPONENTBUILDER_INIT', false);
}
if ($this->user->authorise('fieldtype.reset', 'com_componentbuilder'))
{
// add Reset button.
ToolbarHelper::custom('fieldtypes.resetPowers', 'joomla custom-button-resetpowers', '', 'COM_COMPONENTBUILDER_RESET', false);
}
if ($this->user->authorise('fieldtype.push', 'com_componentbuilder'))
{
// add Push button.
ToolbarHelper::custom('fieldtypes.pushPowers', 'share custom-button-pushpowers', '', 'COM_COMPONENTBUILDER_PUSH', false);
}
if ($this->canDo->get('core.import') && $this->canDo->get('fieldtype.import'))
{