52
0

Update on v1.0.2 (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-02 22:06:24 +02:00
parent 40ebe3807b
commit 23791fe5b6
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
4 changed files with 20 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="plugin" version="4" group="content" method="upgrade">
<extension type="plugin" version="3.10" group="content" method="upgrade">
<name>PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS</name>
<creationDate>24th October, 2023</creationDate>
<creationDate>2nd March, 2024</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>joomla@vdm.io</authorEmail>
<authorUrl>https://dev.vdm.io</authorUrl>

View File

@ -12,6 +12,10 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html;
// import the list field type
jimport('joomla.form.helper');
JFormHelper::loadFieldClass('list');
@ -24,14 +28,14 @@ class JFormFieldAdminlistvieworderfields extends JFormFieldList
/**
* The adminlistvieworderfields field type.
*
* @var string
* @var string
*/
public $type = 'adminlistvieworderfields';
/**
* Method to get a list of options for a list input.
*
* @return array An array of JHtml options.
* @return array An array of Html options.
*/
protected function getOptions()
{

View File

@ -12,6 +12,10 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html;
// import the list field type
jimport('joomla.form.helper');
JFormHelper::loadFieldClass('list');
@ -24,14 +28,14 @@ class JFormFieldLinkedviewsorderfields extends JFormFieldList
/**
* The linkedviewsorderfields field type.
*
* @var string
* @var string
*/
public $type = 'linkedviewsorderfields';
/**
* Method to get a list of options for a list input.
*
* @return array An array of JHtml options.
* @return array An array of Html options.
*/
protected function getOptions()
{

View File

@ -12,6 +12,11 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Filesystem\File;
use Joomla\CMS\Filesystem\Folder;
/**
* Content - Componentbuilder Field Ordering Tabs script file.
*
@ -31,7 +36,7 @@ class plgContentComponentbuilderFieldOrderingTabsInstallerScript
public function preflight($route, $adapter)
{
// get application
$app = JFactory::getApplication();
$app = Factory::getApplication();
// the default for both install and update
$jversion = new JVersion();