Added the feature that allows you to setup the behaviour of a selected set of components that will be auto build and installed. So you do not need to manually compile and install those components any more, the system does all that automatically for you. We have called the feature Expansion Development Method, and it can be set in the global settings of JCB under the Development Method tab.
This commit is contained in:
@ -13048,12 +13048,6 @@ class Interpretation extends Fields
|
||||
$tabCode = ComponentbuilderHelper::safeString($tab) . '_custom_config';
|
||||
$tabUpper = ComponentbuilderHelper::safeString($tab, 'U');
|
||||
$tabLower = ComponentbuilderHelper::safeString($tab);
|
||||
// setup lang
|
||||
$this->langContent[$this->lang][$lang . '_' . $tabUpper] = $tab;
|
||||
// start field set
|
||||
$this->configFieldSets[] = "\t<fieldset";
|
||||
$this->configFieldSets[] = "\t\t" . 'name="' . $tabCode . '"';
|
||||
$this->configFieldSets[] = "\t\t" . 'label="' . $lang . '_' . $tabUpper . '">';
|
||||
// remove display targeted fields
|
||||
$bucket = array();
|
||||
foreach ($tabFields as $tabField)
|
||||
@ -13065,10 +13059,20 @@ class Interpretation extends Fields
|
||||
$bucket[] = str_replace('display="config"', '', $tabField);
|
||||
}
|
||||
}
|
||||
// set the fields
|
||||
$this->configFieldSets[] = implode("", $bucket);
|
||||
// close field set
|
||||
$this->configFieldSets[] = "\t</fieldset>";
|
||||
// only add the tab if it has values
|
||||
if (ComponentbuilderHelper::checkArray($bucket))
|
||||
{
|
||||
// setup lang
|
||||
$this->langContent[$this->lang][$lang . '_' . $tabUpper] = $tab;
|
||||
// start field set
|
||||
$this->configFieldSets[] = "\t<fieldset";
|
||||
$this->configFieldSets[] = "\t\t" . 'name="' . $tabCode . '"';
|
||||
$this->configFieldSets[] = "\t\t" . 'label="' . $lang . '_' . $tabUpper . '">';
|
||||
// set the fields
|
||||
$this->configFieldSets[] = implode("", $bucket);
|
||||
// close field set
|
||||
$this->configFieldSets[] = "\t</fieldset>";
|
||||
}
|
||||
// remove after loading
|
||||
unset($this->configFieldSetsCustomField[$tab]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user