Update on v1.0.2 (changes towards the next release)
Here's an update on the current version, which includes changes towards the next release still in development.
This commit is contained in:
parent
d79d2ed696
commit
f2dc5e5ca0
@ -18,7 +18,8 @@ use Joomla\CMS\Plugin\CMSPlugin;
|
||||
use Joomla\Registry\Registry;
|
||||
use Joomla\CMS\Form\Form;
|
||||
use VDM\Joomla\Utilities\JsonHelper;
|
||||
use VDM\Joomla\Utilities\ArrayHelper;
|
||||
use VDM\Joomla\Utilities\ArrayHelper;
|
||||
use Joomla\CMS\Component\ComponentHelper;
|
||||
|
||||
JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php');
|
||||
|
||||
@ -69,7 +70,7 @@ class PlgContentComponentbuilderPrivacyTabs extends CMSPlugin
|
||||
//$form->setFieldAttribute('note_select_privacy_plugin', 'showon', 'activate:1', 'params.privacy');
|
||||
}
|
||||
// update all editors to use this components global editor
|
||||
$global_editor = \JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||
$global_editor = ComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||
// set the field editor value (with none as fallback)
|
||||
$form->setFieldAttribute('custom_link', 'editor', $global_editor . '|none', 'params.privacy');
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="plugin" version="3.10" group="content" method="upgrade">
|
||||
<name>PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS</name>
|
||||
<creationDate>24th April, 2024</creationDate>
|
||||
<creationDate>27th April, 2024</creationDate>
|
||||
<author>Llewellyn van der Merwe</author>
|
||||
<authorEmail>joomla@vdm.io</authorEmail>
|
||||
<authorUrl>https://dev.vdm.io</authorUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user