Added the new placeholder area for global & component level placeholders. Just like customcode you can now with the placeholders generate dynamic behaviour with placeholders all over the JCB custom areas.
This commit is contained in:
@ -213,6 +213,15 @@ class Infusion extends Interpretation
|
||||
// add the helper emailer if set
|
||||
$this->fileContentStatic[$this->hhh . 'HELPER_EMAIL' . $this->hhh] = $this->addEmailHelper();
|
||||
|
||||
// load the global placeholders
|
||||
if (ComponentbuilderHelper::checkArray($this->globalPlaceholders))
|
||||
{
|
||||
foreach ($this->globalPlaceholders as $globalPlaceholder => $gloabalValue)
|
||||
{
|
||||
$this->fileContentStatic[$globalPlaceholder] = $gloabalValue;
|
||||
}
|
||||
}
|
||||
|
||||
// reset view array
|
||||
$viewarray = array();
|
||||
$site_edit_view_array = array();
|
||||
|
Reference in New Issue
Block a user