diff --git a/README.md b/README.md
index 94d0e57ae..403543bb5 100644
--- a/README.md
+++ b/README.md
@@ -108,7 +108,7 @@ 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*: 5th August, 2017
++ *Last Build*: 12th August, 2017
+ *Version*: 2.4.9
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
diff --git a/admin/README.txt b/admin/README.txt
index 94d0e57ae..403543bb5 100644
--- a/admin/README.txt
+++ b/admin/README.txt
@@ -108,7 +108,7 @@ 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*: 5th August, 2017
++ *Last Build*: 12th August, 2017
+ *Version*: 2.4.9
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
diff --git a/admin/assets/css/admin.css b/admin/assets/css/admin.css
index 49d04109b..f176db53b 100644
--- a/admin/assets/css/admin.css
+++ b/admin/assets/css/admin.css
@@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.9
- @build 5th August, 2017
+ @build 12th August, 2017
@created 30th April, 2015
@package Component Builder
@subpackage admin.css
diff --git a/admin/assets/css/dashboard.css b/admin/assets/css/dashboard.css
index 3a914de54..6f060dc5c 100644
--- a/admin/assets/css/dashboard.css
+++ b/admin/assets/css/dashboard.css
@@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.9
- @build 5th August, 2017
+ @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 c5162e4e5..f3f26bd86 100644
--- a/admin/componentbuilder.php
+++ b/admin/componentbuilder.php
@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.9
- @build 5th August, 2017
+ @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 986024b4b..c34596350 100644
--- a/admin/controller.php
+++ b/admin/controller.php
@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.9
- @build 5th August, 2017
+ @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 79e0d187a..efdfacb2c 100644
--- a/admin/controllers/ajax.json.php
+++ b/admin/controllers/ajax.json.php
@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.9
- @build 5th August, 2017
+ @build 12th August, 2017
@created 30th April, 2015
@package Component Builder
@subpackage ajax.json.php
diff --git a/admin/controllers/componentbuilder.php b/admin/controllers/componentbuilder.php
index 80f3abc63..5c8c8d159 100644
--- a/admin/controllers/componentbuilder.php
+++ b/admin/controllers/componentbuilder.php
@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.9
- @build 5th August, 2017
+ @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 437d3bbdf..25d15ca20 100644
--- a/admin/controllers/help.php
+++ b/admin/controllers/help.php
@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.9
- @build 5th August, 2017
+ @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 4fc610af6..b05bc2710 100644
--- a/admin/controllers/import.php
+++ b/admin/controllers/import.php
@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.9
- @build 5th August, 2017
+ @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 95c163438..7c7eddb9a 100644
--- a/admin/controllers/import_joomla_components.php
+++ b/admin/controllers/import_joomla_components.php
@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.9
- @build 5th August, 2017
+ @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[] = '