Update on v2.0.3 (beta for next version)
Here's an update on the current version, which includes changes towards the next release still in beta.
This commit is contained in:
parent
facd1caf68
commit
b11d2e9703
@ -13,7 +13,8 @@
|
|||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
use Joomla\CMS\Form\Form;
|
use Joomla\CMS\Form\Form;
|
||||||
use Joomla\CMS\Plugin\CMSPlugin;
|
use Joomla\CMS\Plugin\CMSPlugin;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper;
|
||||||
|
|
||||||
JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php');
|
JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php');
|
||||||
|
|
||||||
@ -60,7 +61,7 @@ class PlgContentComponentbuilderAdminHeadersTabs extends CMSPlugin
|
|||||||
// set the field editor value (with none as fallback)
|
// set the field editor value (with none as fallback)
|
||||||
$editors = $form->getXml()->xpath('descendant::fields[@name="admin_view_headers"]//field[@type="editor"]');
|
$editors = $form->getXml()->xpath('descendant::fields[@name="admin_view_headers"]//field[@type="editor"]');
|
||||||
// check if we found any
|
// check if we found any
|
||||||
if (ComponentbuilderHelper::checkArray($editors))
|
if (ArrayHelper::check($editors))
|
||||||
{
|
{
|
||||||
foreach ($editors as $editor)
|
foreach ($editors as $editor)
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<extension type="plugin" version="4" group="content" method="upgrade">
|
<extension type="plugin" version="4" group="content" method="upgrade">
|
||||||
<name>PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS</name>
|
<name>PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS</name>
|
||||||
<creationDate>2nd May, 2023</creationDate>
|
<creationDate>18th October, 2023</creationDate>
|
||||||
<author>Llewellyn van der Merwe</author>
|
<author>Llewellyn van der Merwe</author>
|
||||||
<authorEmail>joomla@vdm.io</authorEmail>
|
<authorEmail>joomla@vdm.io</authorEmail>
|
||||||
<authorUrl>https://dev.vdm.io</authorUrl>
|
<authorUrl>https://dev.vdm.io</authorUrl>
|
||||||
|
Loading…
Reference in New Issue
Block a user