Update on v1.2.1 (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
bed30d5285
commit
2fbc5a1e97
@ -12,17 +12,15 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php');
|
||||||
|
|
||||||
use Joomla\CMS\Factory;
|
use Joomla\CMS\Factory;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
use Joomla\CMS\Application\CMSApplication;
|
use Joomla\CMS\Application\CMSApplication;
|
||||||
use Joomla\CMS\Plugin\CMSPlugin;
|
use Joomla\CMS\Plugin\CMSPlugin;
|
||||||
use Joomla\Registry\Registry;
|
use Joomla\Registry\Registry;
|
||||||
|
use VDM\Joomla\Componentbuilder\Compiler\Factory as CFactory;
|
||||||
use VDM\Joomla\Utilities\ArrayHelper;
|
use VDM\Joomla\Utilities\ArrayHelper;
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Factory as CompilerFactory;
|
|
||||||
|
|
||||||
JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php');
|
|
||||||
|
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Factory as CFactory;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extension - Componentbuilder Powers Autoloader Compiler plugin.
|
* Extension - Componentbuilder Powers Autoloader Compiler plugin.
|
||||||
@ -107,7 +105,7 @@ class PlgExtensionComponentbuilderPowersAutoloaderCompiler extends CMSPlugin
|
|||||||
// only check if there are active
|
// only check if there are active
|
||||||
if (ArrayHelper::check($this->componentsActive))
|
if (ArrayHelper::check($this->componentsActive))
|
||||||
{
|
{
|
||||||
return in_array((int) CompilerFactory::_('Config')->component_id, $this->componentsActive);
|
return in_array((int) CFactory::_('Config')->component_id, $this->componentsActive);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -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="extension" method="upgrade">
|
<extension type="plugin" version="3.10" group="extension" method="upgrade">
|
||||||
<name>PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER</name>
|
<name>PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER</name>
|
||||||
<creationDate>27th July, 2024</creationDate>
|
<creationDate>14th August, 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>
|
||||||
@ -17,6 +17,8 @@
|
|||||||
<languages folder="language">
|
<languages folder="language">
|
||||||
<language tag="en-GB">en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.ini</language>
|
<language tag="en-GB">en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.ini</language>
|
||||||
<language tag="en-GB">en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.sys.ini</language>
|
<language tag="en-GB">en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.sys.ini</language>
|
||||||
|
<language tag="af-ZA">af-ZA/af-ZA.plg_extension_componentbuilderpowersautoloadercompiler.ini</language>
|
||||||
|
<language tag="af-ZA">af-ZA/af-ZA.plg_extension_componentbuilderpowersautoloadercompiler.sys.ini</language>
|
||||||
</languages>
|
</languages>
|
||||||
|
|
||||||
<!-- Plugin files -->
|
<!-- Plugin files -->
|
||||||
@ -28,14 +30,10 @@
|
|||||||
<folder>rules</folder>
|
<folder>rules</folder>
|
||||||
</files>
|
</files>
|
||||||
|
|
||||||
<!-- Config parameter -->
|
<!-- Config parameters -->
|
||||||
<config>
|
<config>
|
||||||
<fields name="params">
|
<fields name="params">
|
||||||
<!-- default paths of basic fieldset points to the plugin -->
|
<fieldset name="basic" label="PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_GLOBAL_AUTOLOADER">
|
||||||
<fieldset name="basic" label="PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_GLOBAL_AUTOLOADER"
|
|
||||||
addrulepath="/plugins/extension/componentbuilderpowersautoloadercompiler/rules"
|
|
||||||
addfieldpath="/plugins/extension/componentbuilderpowersautoloadercompiler/fields"
|
|
||||||
>
|
|
||||||
<!-- Note_select_power_plugin Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Note_select_power_plugin Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
<field type="note" name="note_select_power_plugin" label="PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_NOTE_SELECT_POWER_PLUGIN_LABEL" description="PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_NOTE_SELECT_POWER_PLUGIN_DESCRIPTION" heading="h4" class="alert alert-info note_select_power_plugin" />
|
<field type="note" name="note_select_power_plugin" label="PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_NOTE_SELECT_POWER_PLUGIN_LABEL" description="PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_NOTE_SELECT_POWER_PLUGIN_DESCRIPTION" heading="h4" class="alert alert-info note_select_power_plugin" />
|
||||||
<!-- Plugin Field. Type: Joomlaplugins. (custom) -->
|
<!-- Plugin Field. Type: Joomlaplugins. (custom) -->
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_NO="Nee"
|
||||||
|
PLG_EXTENSION_COMPONENTBUILDEREXPORTCOMPILER_NO="Nee"
|
||||||
|
PLG_EXTENSION_COMPONENTBUILDEREXPORTCOMPILER_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERSITEHEADERSTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERSITEHEADERSTABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_NO="Nee"
|
@ -0,0 +1,18 @@
|
|||||||
|
PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_NO="Nee"
|
||||||
|
PLG_EXTENSION_COMPONENTBUILDEREXPORTCOMPILER_NO="Nee"
|
||||||
|
PLG_EXTENSION_COMPONENTBUILDEREXPORTCOMPILER_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERSITEHEADERSTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERSITEHEADERSTABS_NO="Nee"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_YES="Ja"
|
||||||
|
PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS_NO="Nee"
|
Loading…
Reference in New Issue
Block a user