52
0

Update on v2.0.1 (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:
Robot 2024-03-04 08:54:03 +02:00
parent 86a832e331
commit f2136cf6ad
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class PlgContentComponentbuilderCustomAdminHeadersTabs extends CMSPlugin
// add the admin view params for privacy integration // add the admin view params for privacy integration
$form->loadFile('custom_admin_view'); $form->loadFile('custom_admin_view');
// update all editors to use this components global editor // update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none'); $global_editor = \JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
// 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="custom_admin_view_headers"]//field[@type="editor"]'); $editors = $form->getXml()->xpath('descendant::fields[@name="custom_admin_view_headers"]//field[@type="editor"]');
// check if we found any // check if we found any

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<extension type="plugin" version="3.10" group="content" method="upgrade"> <extension type="plugin" version="3.10" group="content" method="upgrade">
<name>PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS</name> <name>PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS</name>
<creationDate>2nd March, 2024</creationDate> <creationDate>4th March, 2024</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>