diff --git a/README.md b/README.md
index 5d3e6ef7a..b476a17b7 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ The Component Builder for [Joomla](http://www.joomla.org/) that is highly advanc
Whether you're a seasoned [Joomla](http://www.joomla.org/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
-You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.4.9) with **ALL** its features and **ALL** concepts totally open-source and free!
+You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.4.10) with **ALL** its features and **ALL** concepts totally open-source and free!
Once installed upgrades are quick and easy via the default Joomla upgrade area.
@@ -108,12 +108,12 @@ Component Builder is mapped as a component in itself on my local development env
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Component Builder](http://vdm.bz/component-builder)
+ *First Build*: 30th April, 2015
-+ *Last Build*: 24th July, 2017
-+ *Version*: 2.4.9
++ *Last Build*: 12th August, 2017
++ *Version*: 2.4.10
+ *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*: **106272**
-+ *File count*: **650**
++ *Line count*: **106298**
++ *File count*: **651**
+ *Folder count*: **115**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).
diff --git a/admin/README.txt b/admin/README.txt
index 5d3e6ef7a..b476a17b7 100644
--- a/admin/README.txt
+++ b/admin/README.txt
@@ -9,7 +9,7 @@ The Component Builder for [Joomla](http://www.joomla.org/) that is highly advanc
Whether you're a seasoned [Joomla](http://www.joomla.org/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
-You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.4.9) with **ALL** its features and **ALL** concepts totally open-source and free!
+You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.4.10) with **ALL** its features and **ALL** concepts totally open-source and free!
Once installed upgrades are quick and easy via the default Joomla upgrade area.
@@ -108,12 +108,12 @@ Component Builder is mapped as a component in itself on my local development env
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Component Builder](http://vdm.bz/component-builder)
+ *First Build*: 30th April, 2015
-+ *Last Build*: 24th July, 2017
-+ *Version*: 2.4.9
++ *Last Build*: 12th August, 2017
++ *Version*: 2.4.10
+ *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*: **106272**
-+ *File count*: **650**
++ *Line count*: **106298**
++ *File count*: **651**
+ *Folder count*: **115**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).
diff --git a/admin/assets/css/admin.css b/admin/assets/css/admin.css
index 388d8159f..acbfc4782 100644
--- a/admin/assets/css/admin.css
+++ b/admin/assets/css/admin.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.4.9
- @build 24th July, 2017
+ @version 2.4.10
+ @build 12th August, 2017
@created 30th April, 2015
@package Component Builder
@subpackage admin.css
diff --git a/admin/assets/css/compiler.css b/admin/assets/css/compiler.css
index 2cecb2232..38ba14c89 100644
--- a/admin/assets/css/compiler.css
+++ b/admin/assets/css/compiler.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version @update number 49 of this MVC
- @build 31st May, 2017
+ @version @update number 53 of this MVC
+ @build 5th August, 2017
@created 1st February, 2017
@package Component Builder
@subpackage compiler.css
diff --git a/admin/assets/css/dashboard.css b/admin/assets/css/dashboard.css
index 0c2c246b8..5359a3f34 100644
--- a/admin/assets/css/dashboard.css
+++ b/admin/assets/css/dashboard.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.4.9
- @build 24th July, 2017
+ @version 2.4.10
+ @build 12th August, 2017
@created 30th April, 2015
@package Component Builder
@subpackage dashboard.css
diff --git a/admin/assets/css/joomla_component.css b/admin/assets/css/joomla_component.css
index 4136b71f5..2a70cc667 100644
--- a/admin/assets/css/joomla_component.css
+++ b/admin/assets/css/joomla_component.css
@@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 338 of this MVC
- @build 28th June, 2017
+ @build 7th August, 2017
@created 6th May, 2015
@package Component Builder
@subpackage joomla_component.css
diff --git a/admin/assets/css/joomla_components.css b/admin/assets/css/joomla_components.css
index da8baad6b..20256ae8b 100644
--- a/admin/assets/css/joomla_components.css
+++ b/admin/assets/css/joomla_components.css
@@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 338 of this MVC
- @build 28th June, 2017
+ @build 7th August, 2017
@created 6th May, 2015
@package Component Builder
@subpackage joomla_components.css
diff --git a/admin/componentbuilder.php b/admin/componentbuilder.php
index b05258de9..0b34aca8c 100644
--- a/admin/componentbuilder.php
+++ b/admin/componentbuilder.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.4.9
- @build 24th July, 2017
+ @version 2.4.10
+ @build 12th August, 2017
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php
diff --git a/admin/controller.php b/admin/controller.php
index 5f136ac60..cf29e23d5 100644
--- a/admin/controller.php
+++ b/admin/controller.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.4.9
- @build 24th July, 2017
+ @version 2.4.10
+ @build 12th August, 2017
@created 30th April, 2015
@package Component Builder
@subpackage controller.php
diff --git a/admin/controllers/ajax.json.php b/admin/controllers/ajax.json.php
index 7eb3c275c..a64b652d0 100644
--- a/admin/controllers/ajax.json.php
+++ b/admin/controllers/ajax.json.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.4.9
- @build 24th July, 2017
+ @version 2.4.10
+ @build 12th August, 2017
@created 30th April, 2015
@package Component Builder
@subpackage ajax.json.php
diff --git a/admin/controllers/compiler.php b/admin/controllers/compiler.php
index 134692507..20833f1b0 100644
--- a/admin/controllers/compiler.php
+++ b/admin/controllers/compiler.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version @update number 49 of this MVC
- @build 31st May, 2017
+ @version @update number 53 of this MVC
+ @build 5th August, 2017
@created 1st February, 2017
@package Component Builder
@subpackage compiler.php
diff --git a/admin/controllers/componentbuilder.php b/admin/controllers/componentbuilder.php
index df25c20ae..1b268cd7a 100644
--- a/admin/controllers/componentbuilder.php
+++ b/admin/controllers/componentbuilder.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.4.9
- @build 24th July, 2017
+ @version 2.4.10
+ @build 12th August, 2017
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php
diff --git a/admin/controllers/help.php b/admin/controllers/help.php
index ca832a555..38c2093ff 100644
--- a/admin/controllers/help.php
+++ b/admin/controllers/help.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.4.9
- @build 24th July, 2017
+ @version 2.4.10
+ @build 12th August, 2017
@created 30th April, 2015
@package Component Builder
@subpackage help.php
diff --git a/admin/controllers/import.php b/admin/controllers/import.php
index 917841d20..d078b3c24 100644
--- a/admin/controllers/import.php
+++ b/admin/controllers/import.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.4.9
- @build 24th July, 2017
+ @version 2.4.10
+ @build 12th August, 2017
@created 30th April, 2015
@package Component Builder
@subpackage import.php
diff --git a/admin/controllers/import_joomla_components.php b/admin/controllers/import_joomla_components.php
index 6e9c8476b..3ce1dc535 100644
--- a/admin/controllers/import_joomla_components.php
+++ b/admin/controllers/import_joomla_components.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.4.9
- @build 24th July, 2017
+ @version 2.4.10
+ @build 12th August, 2017
@created 30th April, 2015
@package Component Builder
@subpackage import_joomla_components.php
diff --git a/admin/controllers/joomla_component.php b/admin/controllers/joomla_component.php
index c00e38b7f..3e79cce89 100644
--- a/admin/controllers/joomla_component.php
+++ b/admin/controllers/joomla_component.php
@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 338 of this MVC
- @build 28th June, 2017
+ @build 7th August, 2017
@created 6th May, 2015
@package Component Builder
@subpackage joomla_component.php
diff --git a/admin/controllers/joomla_components.php b/admin/controllers/joomla_components.php
index 1e332516d..9ca6f63cf 100644
--- a/admin/controllers/joomla_components.php
+++ b/admin/controllers/joomla_components.php
@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 338 of this MVC
- @build 28th June, 2017
+ @build 7th August, 2017
@created 6th May, 2015
@package Component Builder
@subpackage joomla_components.php
diff --git a/admin/helpers/compiler/c_Fields.php b/admin/helpers/compiler/c_Fields.php
index 4f111d132..4d20edbe8 100644
--- a/admin/helpers/compiler/c_Fields.php
+++ b/admin/helpers/compiler/c_Fields.php
@@ -61,6 +61,13 @@ class Fields extends Structure
*/
public $layoutBuilder = array();
+ /**
+ * used to fix the zero order
+ *
+ * @var array
+ */
+ private $zeroOrderFix = array();
+
/**
* Site field data
*
@@ -470,7 +477,6 @@ class Fields extends Structure
{
$dynamcfields .= $this->setDynamicField($field, $view, $view['settings']->type, $langView, $viewName, $listViewName, $spacerCounter, $this->placeholders, $dbkey, true);
}
-
// set the defautl fields
$fieldSet = array();
$fieldSet[] = '