diff --git a/componentbuilderfieldorderingcompiler.php b/componentbuilderfieldorderingcompiler.php index 02ea19a..cafffb2 100644 --- a/componentbuilderfieldorderingcompiler.php +++ b/componentbuilderfieldorderingcompiler.php @@ -1,12 +1,12 @@ - * @github Joomla Component Builder - * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. - * @license GNU General Public License version 2 or later; see LICENSE.txt +/** + * @package Joomla.Component.Builder + * + * @created 30th April, 2015 + * @author Llewellyn van der Merwe + * @git Joomla Component Builder + * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. + * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access to this file diff --git a/componentbuilderfieldorderingcompiler.xml b/componentbuilderfieldorderingcompiler.xml index 7bc710c..f9ea7a8 100644 --- a/componentbuilderfieldorderingcompiler.xml +++ b/componentbuilderfieldorderingcompiler.xml @@ -1,10 +1,10 @@ - + PLG_EXTENSION_COMPONENTBUILDERFIELDORDERINGCOMPILER - 20th February, 2021 + 16th December, 2021 Llewellyn van der Merwe - llewellyn@joomlacomponentbuilder.com - http://www.joomlacomponentbuilder.com + 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.0 diff --git a/language/en-GB/en-GB.plg_extension_componentbuilderfieldorderingcompiler.ini b/language/en-GB/en-GB.plg_extension_componentbuilderfieldorderingcompiler.ini index f56aed0..90b7c87 100644 --- a/language/en-GB/en-GB.plg_extension_componentbuilderfieldorderingcompiler.ini +++ b/language/en-GB/en-GB.plg_extension_componentbuilderfieldorderingcompiler.ini @@ -4,4 +4,4 @@ PLG_EXTENSION_COMPONENTBUILDERFIELDORDERINGCOMPILER_DESCRIPTION="This plugin is Also be sure to set your admin views where you would like to use Field Ordering." PLG_EXTENSION_COMPONENTBUILDERFIELDORDERINGCOMPILER_XML_DESCRIPTION="

Extension - Componentbuilder Field Ordering Compiler (v.1.0.0)

This plugin is used to set the ordring for your component views 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. -Also be sure to set your admin views where you would like to use Field Ordering.

Created by Llewellyn van der Merwe
Development started 21st May, 2020

" \ No newline at end of file +Also be sure to set your admin views where you would like to use Field Ordering.

Created by Llewellyn van der Merwe
Development started 21st May, 2020

" \ No newline at end of file diff --git a/language/en-GB/en-GB.plg_extension_componentbuilderfieldorderingcompiler.sys.ini b/language/en-GB/en-GB.plg_extension_componentbuilderfieldorderingcompiler.sys.ini index f56aed0..90b7c87 100644 --- a/language/en-GB/en-GB.plg_extension_componentbuilderfieldorderingcompiler.sys.ini +++ b/language/en-GB/en-GB.plg_extension_componentbuilderfieldorderingcompiler.sys.ini @@ -4,4 +4,4 @@ PLG_EXTENSION_COMPONENTBUILDERFIELDORDERINGCOMPILER_DESCRIPTION="This plugin is Also be sure to set your admin views where you would like to use Field Ordering." PLG_EXTENSION_COMPONENTBUILDERFIELDORDERINGCOMPILER_XML_DESCRIPTION="

Extension - Componentbuilder Field Ordering Compiler (v.1.0.0)

This plugin is used to set the ordring for your component views 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. -Also be sure to set your admin views where you would like to use Field Ordering.

Created by Llewellyn van der Merwe
Development started 21st May, 2020

" \ No newline at end of file +Also be sure to set your admin views where you would like to use Field Ordering.

Created by Llewellyn van der Merwe
Development started 21st May, 2020

" \ No newline at end of file diff --git a/script.php b/script.php index eda2520..776eb3d 100644 --- a/script.php +++ b/script.php @@ -1,12 +1,12 @@ - * @github Joomla Component Builder - * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. - * @license GNU General Public License version 2 or later; see LICENSE.txt +/** + * @package Joomla.Component.Builder + * + * @created 30th April, 2015 + * @author Llewellyn van der Merwe + * @git Joomla Component Builder + * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. + * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access to this file @@ -47,7 +47,7 @@ class plgExtensionComponentbuilderFieldOrderingCompilerInstallerScript $pathToCore = JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php'; if (!JFile::exists($pathToCore)) { - $app->enqueueMessage('Joomla Component Builder must first be installed from Joomla Component Builder.', 'error'); + $app->enqueueMessage('JCB must first be installed from Joomla Component Builder.', 'error'); return false; } // load the helper class @@ -61,7 +61,7 @@ class plgExtensionComponentbuilderFieldOrderingCompilerInstallerScript // get the version $jcbVersion = explode('.', $manifest->version); // check that we have JCB 2.11.1 or higher installed - if (count($jcbVersion) == 3 && $jcbVersion[0] >= 2 && $jcbVersion[1] >= 11 && (($jcbVersion[1] == 11 && $jcbVersion[2] >= 1) || ($jcbVersion[1] > 11))) + if (count($jcbVersion) == 3 && (($jcbVersion[0] == 2 && $jcbVersion[1] >= 11 && (($jcbVersion[1] == 11 && $jcbVersion[2] >= 1) || ($jcbVersion[1] > 11))) || $jcbVersion[0] >= 3)) { $blockInstall = false; }