diff --git a/README.md b/README.md index 025918f48..fe4a09d38 100644 --- a/README.md +++ b/README.md @@ -126,11 +126,11 @@ Component Builder is mapped as a component in itself on my local development env + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](http://joomlacomponentbuilder.com) + *First Build*: 30th April, 2015 -+ *Last Build*: 2nd March, 2018 ++ *Last Build*: 3rd March, 2018 + *Version*: 2.6.17 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -+ *Line count*: **183511** ++ *Line count*: **183530** + *Field count*: **1645** + *File count*: **1169** + *Folder count*: **189** diff --git a/admin/README.txt b/admin/README.txt index 025918f48..fe4a09d38 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -126,11 +126,11 @@ Component Builder is mapped as a component in itself on my local development env + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](http://joomlacomponentbuilder.com) + *First Build*: 30th April, 2015 -+ *Last Build*: 2nd March, 2018 ++ *Last Build*: 3rd March, 2018 + *Version*: 2.6.17 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -+ *Line count*: **183511** ++ *Line count*: **183530** + *Field count*: **1645** + *File count*: **1169** + *Folder count*: **189** diff --git a/admin/models/joomla_components.php b/admin/models/joomla_components.php index 5f9d6156d..c37258dd4 100644 --- a/admin/models/joomla_components.php +++ b/admin/models/joomla_components.php @@ -216,6 +216,18 @@ class ComponentbuilderModelJoomla_components extends JModelList unset($items[$nr]); continue; } + // make sure old fields are not exported any more + unset($item->addconfig); + unset($item->addadmin_views); + unset($item->addcustom_admin_views); + unset($item->addsite_views); + unset($item->version_update); + unset($item->sql_tweak); + unset($item->addcustommenus); + unset($item->dashboard_tab); + unset($item->php_dashboard_methods); + unset($item->addfiles); + unset($item->addfolders); // build information data set $this->info['name'][$item->id] = $item->name; $this->info['short_description'][$item->id] = $item->short_description; @@ -608,6 +620,13 @@ class ComponentbuilderModelJoomla_components extends JModelList // add fields $this->setData('field', $this->getValues($item->addfields, 'subform', 'field'), 'id'); } + // actions to take if table is admin_fields_conditions + if ('admin_fields_conditions' === $table) + { + // add fields + $this->setData('field', $this->getValues($item->addconditions, 'subform', 'target_field'), 'id'); + $this->setData('field', $this->getValues($item->addconditions, 'subform', 'match_field'), 'id'); + } // actions to take if table is field if ('field' === $table) { diff --git a/componentbuilder.xml b/componentbuilder.xml index ce72ccee7..b7c7b92aa 100644 --- a/componentbuilder.xml +++ b/componentbuilder.xml @@ -1,7 +1,7 @@ COM_COMPONENTBUILDER - 2nd March, 2018 + 3rd March, 2018 Llewellyn van der Merwe llewellyn@joomlacomponentbuilder.com http://joomlacomponentbuilder.com