From 7ad1cfc593e55456c09e4add2a6625b92428433f Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Sun, 23 Oct 2022 23:15:15 +0200 Subject: [PATCH] update - v1.0.4 --- componentbuilderpowersautoloadercompiler.php | 4 ++-- componentbuilderpowersautoloadercompiler.xml | 4 ++-- ...plg_extension_componentbuilderpowersautoloadercompiler.ini | 2 +- ...extension_componentbuilderpowersautoloadercompiler.sys.ini | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/componentbuilderpowersautoloadercompiler.php b/componentbuilderpowersautoloadercompiler.php index 333bd4c..9c2081f 100644 --- a/componentbuilderpowersautoloadercompiler.php +++ b/componentbuilderpowersautoloadercompiler.php @@ -22,7 +22,7 @@ JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/c * Extension - Componentbuilder Powers Autoloader Compiler plugin. * * @package ComponentbuilderPowersAutoloaderCompiler - * @since 1.0.2 + * @since 1.0.4 */ class PlgExtensionComponentbuilderPowersAutoloaderCompiler extends CMSPlugin { @@ -44,7 +44,7 @@ class PlgExtensionComponentbuilderPowersAutoloaderCompiler extends CMSPlugin public function jcb_ce_onAfterGet(&$context, $compiler) { // check if this component needs a power autoloader plugin loaded - if ($compiler->addPower && $this->componentActive($context) && ComponentbuilderHelper::checkArray($compiler->powers)) + if ($compiler->addPower && $this->componentActive($context) && ComponentbuilderHelper::checkArray($compiler->linkedPowers)) { // now get the plugin ID if set if (($id = (int) $this->params->get('plugin', 0)) !== 0) diff --git a/componentbuilderpowersautoloadercompiler.xml b/componentbuilderpowersautoloadercompiler.xml index 43e3b58..e83d630 100644 --- a/componentbuilderpowersautoloadercompiler.xml +++ b/componentbuilderpowersautoloadercompiler.xml @@ -1,13 +1,13 @@ PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER - 20th September, 2022 + 23rd October, 2022 Llewellyn van der Merwe joomla@vdm.io https://dev.vdm.io Copyright (C) 2015 Vast Development Method. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt - 1.0.2 + 1.0.4 PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_XML_DESCRIPTION diff --git a/language/en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.ini b/language/en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.ini index 2d7ffe0..b9eb118 100644 --- a/language/en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.ini +++ b/language/en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.ini @@ -1,6 +1,6 @@ PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER="Extension - Componentbuilder Powers Autoloader Compiler" PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_DESCRIPTION="This plugin is used to build the power autoloader plugin for your component during compilation. To activate it you must first enable it here. Then open your JCB component global options, and under the Global tab, select this plugin in the Activate Compiler Plugins field." -PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_XML_DESCRIPTION="

Extension - Componentbuilder Powers Autoloader Compiler (v.1.0.2)

This plugin is used to build the power autoloader plugin for your component during compilation. To activate it you must first enable it here. Then open your JCB component global options, and under the Global tab, select this plugin in the Activate Compiler Plugins field.

Created by Llewellyn van der Merwe
Development started 13th November, 2021

" +PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_XML_DESCRIPTION="

Extension - Componentbuilder Powers Autoloader Compiler (v.1.0.4)

This plugin is used to build the power autoloader plugin for your component during compilation. To activate it you must first enable it here. Then open your JCB component global options, and under the Global tab, select this plugin in the Activate Compiler Plugins field.

Created by Llewellyn van der Merwe
Development started 13th November, 2021

" PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_YOU_DO_NOT_HAVE_A_GLOBAL_POWER_PLUGIN_SETUP_SO_THE_POWERS_PLUGIN_AUTOLOADER_COULD_NOT_BE_ADDED="You do not have a global power plugin setup, so the powers plugin autoloader could not be added." PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_GLOBAL_AUTOLOADER="Global Autoloader" PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_NOTE_SELECT_POWER_PLUGIN_LABEL="Select your power autoloader plugin here." diff --git a/language/en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.sys.ini b/language/en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.sys.ini index 2d7ffe0..b9eb118 100644 --- a/language/en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.sys.ini +++ b/language/en-GB/en-GB.plg_extension_componentbuilderpowersautoloadercompiler.sys.ini @@ -1,6 +1,6 @@ PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER="Extension - Componentbuilder Powers Autoloader Compiler" PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_DESCRIPTION="This plugin is used to build the power autoloader plugin for your component during compilation. To activate it you must first enable it here. Then open your JCB component global options, and under the Global tab, select this plugin in the Activate Compiler Plugins field." -PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_XML_DESCRIPTION="

Extension - Componentbuilder Powers Autoloader Compiler (v.1.0.2)

This plugin is used to build the power autoloader plugin for your component during compilation. To activate it you must first enable it here. Then open your JCB component global options, and under the Global tab, select this plugin in the Activate Compiler Plugins field.

Created by Llewellyn van der Merwe
Development started 13th November, 2021

" +PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_XML_DESCRIPTION="

Extension - Componentbuilder Powers Autoloader Compiler (v.1.0.4)

This plugin is used to build the power autoloader plugin for your component during compilation. To activate it you must first enable it here. Then open your JCB component global options, and under the Global tab, select this plugin in the Activate Compiler Plugins field.

Created by Llewellyn van der Merwe
Development started 13th November, 2021

" PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_YOU_DO_NOT_HAVE_A_GLOBAL_POWER_PLUGIN_SETUP_SO_THE_POWERS_PLUGIN_AUTOLOADER_COULD_NOT_BE_ADDED="You do not have a global power plugin setup, so the powers plugin autoloader could not be added." PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_GLOBAL_AUTOLOADER="Global Autoloader" PLG_EXTENSION_COMPONENTBUILDERPOWERSAUTOLOADERCOMPILER_NOTE_SELECT_POWER_PLUGIN_LABEL="Select your power autoloader plugin here."