diff --git a/README.md b/README.md
index 73502fc18..99e76aea1 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Component Builder (2.1.10)
+# Component Builder (2.1.11)
This is a [Joomla 3.x] (http://www.joomla.org/) component.
@@ -32,12 +32,12 @@ Would you require more help please open and issue here on [gitHub today](https:/
+ *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io)
+ *Name*: [Component Builder] (https://www.vdm.io/joomla-component-builder)
+ *First Build*: 30th April, 2015
-+ *Last Build*: 31st May, 2016
-+ *Version*: 2.1.10
++ *Last Build*: 2nd June, 2016
++ *Version*: 2.1.11
+ *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*: **82957**
-+ *File count*: **503**
++ *Line count*: **83090**
++ *File count*: **504**
+ *Folder count*: **99**
> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder).
diff --git a/admin/assets/css/admin.css b/admin/assets/css/admin.css
index 876a309da..bf8ce8f53 100644
--- a/admin/assets/css/admin.css
+++ b/admin/assets/css/admin.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin.css
diff --git a/admin/assets/css/admin_view.css b/admin/assets/css/admin_view.css
index 3d9795bce..f079c040c 100644
--- a/admin/assets/css/admin_view.css
+++ b/admin/assets/css/admin_view.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.css
diff --git a/admin/assets/css/admin_views.css b/admin/assets/css/admin_views.css
index 37ae21180..e3524a4fd 100644
--- a/admin/assets/css/admin_views.css
+++ b/admin/assets/css/admin_views.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_views.css
diff --git a/admin/assets/css/component.css b/admin/assets/css/component.css
index 1e7bceacd..44d13572b 100644
--- a/admin/assets/css/component.css
+++ b/admin/assets/css/component.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage component.css
diff --git a/admin/assets/css/components.css b/admin/assets/css/components.css
index 92991c949..ae7734287 100644
--- a/admin/assets/css/components.css
+++ b/admin/assets/css/components.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage components.css
diff --git a/admin/assets/css/custom_admin_view.css b/admin/assets/css/custom_admin_view.css
index 658db7ad0..bc7c4e362 100644
--- a/admin/assets/css/custom_admin_view.css
+++ b/admin/assets/css/custom_admin_view.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.css
diff --git a/admin/assets/css/custom_admin_views.css b/admin/assets/css/custom_admin_views.css
index 7e64771de..641266e8b 100644
--- a/admin/assets/css/custom_admin_views.css
+++ b/admin/assets/css/custom_admin_views.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_views.css
diff --git a/admin/assets/css/dashboard.css b/admin/assets/css/dashboard.css
index 6a0330435..04560a397 100644
--- a/admin/assets/css/dashboard.css
+++ b/admin/assets/css/dashboard.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dashboard.css
diff --git a/admin/assets/css/dynamic_get.css b/admin/assets/css/dynamic_get.css
index 14aa7ff47..a72e95589 100644
--- a/admin/assets/css/dynamic_get.css
+++ b/admin/assets/css/dynamic_get.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_get.css
diff --git a/admin/assets/css/dynamic_gets.css b/admin/assets/css/dynamic_gets.css
index 006f03ec1..974c98f9a 100644
--- a/admin/assets/css/dynamic_gets.css
+++ b/admin/assets/css/dynamic_gets.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_gets.css
diff --git a/admin/assets/css/field.css b/admin/assets/css/field.css
index 08fc0354d..89a8f9f5f 100644
--- a/admin/assets/css/field.css
+++ b/admin/assets/css/field.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage field.css
diff --git a/admin/assets/css/fields.css b/admin/assets/css/fields.css
index 42a24ae65..4bcd65f21 100644
--- a/admin/assets/css/fields.css
+++ b/admin/assets/css/fields.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields.css
diff --git a/admin/assets/css/fieldtype.css b/admin/assets/css/fieldtype.css
index 5f880b7b6..6abe0132f 100644
--- a/admin/assets/css/fieldtype.css
+++ b/admin/assets/css/fieldtype.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.css
diff --git a/admin/assets/css/fieldtypes.css b/admin/assets/css/fieldtypes.css
index 3d96b6b81..60a66c43f 100644
--- a/admin/assets/css/fieldtypes.css
+++ b/admin/assets/css/fieldtypes.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.css
diff --git a/admin/assets/css/help_document.css b/admin/assets/css/help_document.css
index 971d2d279..cf87646c1 100644
--- a/admin/assets/css/help_document.css
+++ b/admin/assets/css/help_document.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_document.css
diff --git a/admin/assets/css/help_documents.css b/admin/assets/css/help_documents.css
index 379bfeb24..89cfb649e 100644
--- a/admin/assets/css/help_documents.css
+++ b/admin/assets/css/help_documents.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_documents.css
diff --git a/admin/assets/css/layout.css b/admin/assets/css/layout.css
index 58c3f8c2e..9006ee2c9 100644
--- a/admin/assets/css/layout.css
+++ b/admin/assets/css/layout.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layout.css
diff --git a/admin/assets/css/layouts.css b/admin/assets/css/layouts.css
index 9b59e954f..e2f31469f 100644
--- a/admin/assets/css/layouts.css
+++ b/admin/assets/css/layouts.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layouts.css
diff --git a/admin/assets/css/site_view.css b/admin/assets/css/site_view.css
index f95bf7071..b34012925 100644
--- a/admin/assets/css/site_view.css
+++ b/admin/assets/css/site_view.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_view.css
diff --git a/admin/assets/css/site_views.css b/admin/assets/css/site_views.css
index 14a4db535..f0d500bdb 100644
--- a/admin/assets/css/site_views.css
+++ b/admin/assets/css/site_views.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_views.css
diff --git a/admin/assets/css/snippet.css b/admin/assets/css/snippet.css
index cca73862c..953a8e245 100644
--- a/admin/assets/css/snippet.css
+++ b/admin/assets/css/snippet.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippet.css
diff --git a/admin/assets/css/snippets.css b/admin/assets/css/snippets.css
index 0383ec5e6..ce8772e69 100644
--- a/admin/assets/css/snippets.css
+++ b/admin/assets/css/snippets.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippets.css
diff --git a/admin/assets/css/template.css b/admin/assets/css/template.css
index 1cefc92a1..1b0924abf 100644
--- a/admin/assets/css/template.css
+++ b/admin/assets/css/template.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage template.css
diff --git a/admin/assets/css/templates.css b/admin/assets/css/templates.css
index 842677681..64424aab2 100644
--- a/admin/assets/css/templates.css
+++ b/admin/assets/css/templates.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage templates.css
diff --git a/admin/compiler/joomla_3/install.mysql.utf8.sql b/admin/compiler/joomla_3/install.mysql.utf8.sql
index 273e93820..16c3c66b0 100644
--- a/admin/compiler/joomla_3/install.mysql.utf8.sql
+++ b/admin/compiler/joomla_3/install.mysql.utf8.sql
@@ -1 +1,6 @@
-###INSTALL###
\ No newline at end of file
+###INSTALL###
+
+--
+-- Always insure this column is large enough for all the access control values.
+--
+ALTER TABLE `#__assets` CHANGE `rules` `rules` MEDIUMTEXT NOT NULL COMMENT 'JSON encoded access control.';
diff --git a/admin/componentbuilder.php b/admin/componentbuilder.php
index 2761e58ca..b8a1f5a31 100644
--- a/admin/componentbuilder.php
+++ b/admin/componentbuilder.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php
diff --git a/admin/controller.php b/admin/controller.php
index 8836d92ac..12c524293 100644
--- a/admin/controller.php
+++ b/admin/controller.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage controller.php
diff --git a/admin/controllers/admin_view.php b/admin/controllers/admin_view.php
index 3a33ed36b..d13754355 100644
--- a/admin/controllers/admin_view.php
+++ b/admin/controllers/admin_view.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.php
diff --git a/admin/controllers/admin_views.php b/admin/controllers/admin_views.php
index bd44bfab3..c0b3305ec 100644
--- a/admin/controllers/admin_views.php
+++ b/admin/controllers/admin_views.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_views.php
diff --git a/admin/controllers/ajax.json.php b/admin/controllers/ajax.json.php
index e6f5a2393..bd76798fa 100644
--- a/admin/controllers/ajax.json.php
+++ b/admin/controllers/ajax.json.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage ajax.json.php
diff --git a/admin/controllers/compiler.php b/admin/controllers/compiler.php
index 7acb0e3fb..0eddd93ac 100644
--- a/admin/controllers/compiler.php
+++ b/admin/controllers/compiler.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage compiler.php
diff --git a/admin/controllers/component.php b/admin/controllers/component.php
index 86386f5e8..739bea4d8 100644
--- a/admin/controllers/component.php
+++ b/admin/controllers/component.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage component.php
diff --git a/admin/controllers/componentbuilder.php b/admin/controllers/componentbuilder.php
index c0a5e4447..48106a38d 100644
--- a/admin/controllers/componentbuilder.php
+++ b/admin/controllers/componentbuilder.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php
diff --git a/admin/controllers/components.php b/admin/controllers/components.php
index 0197f0906..f8a8761a2 100644
--- a/admin/controllers/components.php
+++ b/admin/controllers/components.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage components.php
diff --git a/admin/controllers/custom_admin_view.php b/admin/controllers/custom_admin_view.php
index bf6bdc798..49415e587 100644
--- a/admin/controllers/custom_admin_view.php
+++ b/admin/controllers/custom_admin_view.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.php
diff --git a/admin/controllers/custom_admin_views.php b/admin/controllers/custom_admin_views.php
index eab24a389..eb220d582 100644
--- a/admin/controllers/custom_admin_views.php
+++ b/admin/controllers/custom_admin_views.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_views.php
diff --git a/admin/controllers/dynamic_get.php b/admin/controllers/dynamic_get.php
index 28c00b312..0a82afd15 100644
--- a/admin/controllers/dynamic_get.php
+++ b/admin/controllers/dynamic_get.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_get.php
diff --git a/admin/controllers/dynamic_gets.php b/admin/controllers/dynamic_gets.php
index 7f91f7d92..fcbc9284b 100644
--- a/admin/controllers/dynamic_gets.php
+++ b/admin/controllers/dynamic_gets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_gets.php
diff --git a/admin/controllers/field.php b/admin/controllers/field.php
index 77ad0c4e3..e98a39de1 100644
--- a/admin/controllers/field.php
+++ b/admin/controllers/field.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage field.php
diff --git a/admin/controllers/fields.php b/admin/controllers/fields.php
index 07f9011b2..ed9319ca9 100644
--- a/admin/controllers/fields.php
+++ b/admin/controllers/fields.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields.php
diff --git a/admin/controllers/fieldtype.php b/admin/controllers/fieldtype.php
index b8e9dfb47..e350d3350 100644
--- a/admin/controllers/fieldtype.php
+++ b/admin/controllers/fieldtype.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.php
diff --git a/admin/controllers/fieldtypes.php b/admin/controllers/fieldtypes.php
index 8343a5cde..24ff93f48 100644
--- a/admin/controllers/fieldtypes.php
+++ b/admin/controllers/fieldtypes.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.php
diff --git a/admin/controllers/help.php b/admin/controllers/help.php
index c28e28104..05ea4bda1 100644
--- a/admin/controllers/help.php
+++ b/admin/controllers/help.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help.php
diff --git a/admin/controllers/help_document.php b/admin/controllers/help_document.php
index 078de9163..a45a49538 100644
--- a/admin/controllers/help_document.php
+++ b/admin/controllers/help_document.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_document.php
diff --git a/admin/controllers/help_documents.php b/admin/controllers/help_documents.php
index cd2b9e91a..2dda21df4 100644
--- a/admin/controllers/help_documents.php
+++ b/admin/controllers/help_documents.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_documents.php
diff --git a/admin/controllers/import.php b/admin/controllers/import.php
index ec96ba472..75695db25 100644
--- a/admin/controllers/import.php
+++ b/admin/controllers/import.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage import.php
diff --git a/admin/controllers/layout.php b/admin/controllers/layout.php
index 70c2c0a37..f56ab06f2 100644
--- a/admin/controllers/layout.php
+++ b/admin/controllers/layout.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layout.php
diff --git a/admin/controllers/layouts.php b/admin/controllers/layouts.php
index d52bc1f37..742b7239e 100644
--- a/admin/controllers/layouts.php
+++ b/admin/controllers/layouts.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layouts.php
diff --git a/admin/controllers/site_view.php b/admin/controllers/site_view.php
index 13fea9e90..67139d41c 100644
--- a/admin/controllers/site_view.php
+++ b/admin/controllers/site_view.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_view.php
diff --git a/admin/controllers/site_views.php b/admin/controllers/site_views.php
index f2e626d3d..012b3d60f 100644
--- a/admin/controllers/site_views.php
+++ b/admin/controllers/site_views.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_views.php
diff --git a/admin/controllers/snippet.php b/admin/controllers/snippet.php
index b9b9dd3a5..f9d6d9dc2 100644
--- a/admin/controllers/snippet.php
+++ b/admin/controllers/snippet.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippet.php
diff --git a/admin/controllers/snippets.php b/admin/controllers/snippets.php
index 3954bd48e..c1ed97995 100644
--- a/admin/controllers/snippets.php
+++ b/admin/controllers/snippets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippets.php
diff --git a/admin/controllers/template.php b/admin/controllers/template.php
index 618317520..1d1605b6a 100644
--- a/admin/controllers/template.php
+++ b/admin/controllers/template.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage template.php
diff --git a/admin/controllers/templates.php b/admin/controllers/templates.php
index e7f77f0c6..a552d6223 100644
--- a/admin/controllers/templates.php
+++ b/admin/controllers/templates.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.10
- @build 31st May, 2016
+ @version 2.1.11
+ @build 2nd June, 2016
@created 30th April, 2015
@package Component Builder
@subpackage templates.php
diff --git a/admin/helpers/compiler/c_Fields.php b/admin/helpers/compiler/c_Fields.php
index 11656a75a..d13a8a47a 100644
--- a/admin/helpers/compiler/c_Fields.php
+++ b/admin/helpers/compiler/c_Fields.php
@@ -306,6 +306,34 @@ class Fields extends Structure
* @var array
*/
public $setGroupControl = array();
+
+ /**
+ * Set Field Names
+ *
+ * @var array
+ */
+ public $fieldsNames = array();
+
+ /**
+ * Default Fields
+ *
+ * @var array
+ */
+ public $defaultFields = array('created', 'created_by', 'modified', 'modified_by', 'published', 'ordering', 'access', 'version', 'hits', 'id');
+
+ /**
+ * Default Fields set to publishing
+ *
+ * @var array
+ */
+ public $newPublishingFields = array();
+
+ /**
+ * Default Fields set to publishing
+ *
+ * @var array
+ */
+ public $movedPublishingFields = array();
/**
* set the Field set of a view
@@ -338,7 +366,7 @@ class Fields extends Structure
$readOnly = "";
if ($view['settings']->type == 2)
{
- $readOnly = "\n\t\t\t" . 'readonly="true"' . "\n\t\t\t" . 'disabled="true"';
+ $readOnly = "\t\t\t" . 'readonly="true"' . "\n\t\t\t" . 'disabled="true"';
}
// main lang prefix
$langView = $this->langPrefix . '_' . ComponentbuilderHelper::safeString($view['settings']->name_single, 'U');
@@ -370,129 +398,22 @@ class Fields extends Structure
$this->langContent[$this->lang][$langViews . '_BATCH_TIP'] = "All changes will be applied to all selected " . $view['settings']->name_list;
// set some basic defaults
$this->langContent[$this->lang][$langView . '_ERROR_UNIQUE_ALIAS'] = "Another " . $view['settings']->name_single . " has the same alias.";
- $this->langContent[$this->lang][$langView . '_CREATED_DATE_LABEL'] = "Created date";
- $this->langContent[$this->lang][$langView . '_CREATED_DATE_DESC'] = "The date " . $view['settings']->name_single . " was created.";
- $this->langContent[$this->lang][$langView . '_CREATED_BY_LABEL'] = "Created by";
- $this->langContent[$this->lang][$langView . '_CREATED_BY_DESC'] = "The user that created the " . $view['settings']->name_single . ".";
+ $this->langContent[$this->lang][$langView . '_CREATED_DATE_LABEL'] = "Created Date";
+ $this->langContent[$this->lang][$langView . '_CREATED_DATE_DESC'] = "The date this " . $view['settings']->name_single . " was created.";
+ $this->langContent[$this->lang][$langView . '_MODIFIED_DATE_LABEL'] = "Modified Date";
+ $this->langContent[$this->lang][$langView . '_MODIFIED_DATE_DESC'] = "The date this " . $view['settings']->name_single . " was modified.";
+ $this->langContent[$this->lang][$langView . '_CREATED_BY_LABEL'] = "Created By";
+ $this->langContent[$this->lang][$langView . '_CREATED_BY_DESC'] = "The user that created this " . $view['settings']->name_single . ".";
+ $this->langContent[$this->lang][$langView . '_MODIFIED_BY_LABEL'] = "Modified By";
+ $this->langContent[$this->lang][$langView . '_MODIFIED_BY_DESC'] = "The last user that modified this " . $view['settings']->name_single . ".";
$this->langContent[$this->lang][$langView . '_ORDERING_LABEL'] = "Ordering";
$this->langContent[$this->lang][$langView . '_VERSION_LABEL'] = "Revision";
$this->langContent[$this->lang][$langView . '_VERSION_DESC'] = "A count of the number of times this " . $view['settings']->name_single . " has been revised.";
$this->langContent[$this->lang][$langView . '_SAVE_WARNING'] = "Alias already existed so a number was added at the end. You can re-edit the " . $view['settings']->name_single . " to customise the alias.";
- // set the defautl fields
- $fieldSet = '