diff --git a/README.md b/README.md
index b7f8e89b1..641e5097e 100644
--- a/README.md
+++ b/README.md
@@ -143,12 +143,12 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
-+ *Last Build*: 2nd February, 2022
++ *Last Build*: 4th February, 2022
+ *Version*: 2.12.15
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
-+ *Line count*: **286129**
-+ *Field count*: **1572**
++ *Line count*: **286249**
++ *Field count*: **1580**
+ *File count*: **1829**
+ *Folder count*: **256**
diff --git a/admin/README.txt b/admin/README.txt
index b7f8e89b1..641e5097e 100644
--- a/admin/README.txt
+++ b/admin/README.txt
@@ -143,12 +143,12 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
-+ *Last Build*: 2nd February, 2022
++ *Last Build*: 4th February, 2022
+ *Version*: 2.12.15
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
-+ *Line count*: **286129**
-+ *Field count*: **1572**
++ *Line count*: **286249**
++ *Field count*: **1580**
+ *File count*: **1829**
+ *Folder count*: **256**
diff --git a/admin/helpers/compiler/a_Get.php b/admin/helpers/compiler/a_Get.php
index da9328e2d..487f5267b 100644
--- a/admin/helpers/compiler/a_Get.php
+++ b/admin/helpers/compiler/a_Get.php
@@ -9389,6 +9389,8 @@ class Get
$module->form_files = array();
$module->fieldsets_label = array();
$module->fieldsets_paths = array();
+ $module->add_rule_path = array();
+ $module->add_field_path = array();
// set global fields rule to default component path
$module->fields_rules_paths = 1;
// set the fields data
@@ -9463,6 +9465,30 @@ class Get
// set where to path is pointing
$module->fieldsets_paths[$unique]
= $form['fields_rules_paths'];
+ // check for extra rule paths
+ if (isset($form['addrulepath'])
+ && ComponentbuilderHelper::checkArray($form['addrulepath']))
+ {
+ foreach ($form['addrulepath'] as $add_rule_path)
+ {
+ if (ComponentbuilderHelper::checkString($add_rule_path['path']))
+ {
+ $module->add_rule_path[$unique][] = $add_rule_path['path'];
+ }
+ }
+ }
+ // check for extra field paths
+ if (isset($form['addfieldpath'])
+ && ComponentbuilderHelper::checkArray($form['addfieldpath']))
+ {
+ foreach ($form['addfieldpath'] as $add_field_path)
+ {
+ if (ComponentbuilderHelper::checkString($add_field_path['path']))
+ {
+ $module->add_field_path[$unique][] = $add_field_path['path'];
+ }
+ }
+ }
// add the label if set to lang
if (isset($form['label'])
&& ComponentbuilderHelper::checkString(
@@ -10297,6 +10323,8 @@ class Get
$plugin->form_files = array();
$plugin->fieldsets_label = array();
$plugin->fieldsets_paths = array();
+ $plugin->add_rule_path = array();
+ $plugin->add_field_path = array();
// set global fields rule to default component path
$plugin->fields_rules_paths = 1;
// set the fields data
@@ -10380,6 +10408,30 @@ class Get
$plugin->fieldsets_label[$unique]
= $this->setLang($form['label']);
}
+ // check for extra rule paths
+ if (isset($form['addrulepath'])
+ && ComponentbuilderHelper::checkArray($form['addrulepath']))
+ {
+ foreach ($form['addrulepath'] as $add_rule_path)
+ {
+ if (ComponentbuilderHelper::checkString($add_rule_path['path']))
+ {
+ $plugin->add_rule_path[$unique][] = $add_rule_path['path'];
+ }
+ }
+ }
+ // check for extra field paths
+ if (isset($form['addfieldpath'])
+ && ComponentbuilderHelper::checkArray($form['addfieldpath']))
+ {
+ foreach ($form['addfieldpath'] as $add_field_path)
+ {
+ if (ComponentbuilderHelper::checkString($add_field_path['path']))
+ {
+ $plugin->add_field_path[$unique][] = $add_field_path['path'];
+ }
+ }
+ }
// build the fields
$form['fields'] = array_map(
function ($field) use ($key, $unique) {
diff --git a/admin/helpers/compiler/e_Interpretation.php b/admin/helpers/compiler/e_Interpretation.php
index b879cebe8..646d2816c 100644
--- a/admin/helpers/compiler/e_Interpretation.php
+++ b/admin/helpers/compiler/e_Interpretation.php
@@ -28572,31 +28572,57 @@ function vdm_dkim() {
&& $module->fieldsets_paths[$field_name . $fieldset]
== 2)
{
- $xml .= PHP_EOL . $this->_t(1) . '';
- $xml .= PHP_EOL . $this->_t(1) . '