Fixed gh-338 to insure that the custom buttons work on the site view page

This commit is contained in:
2018-09-11 22:08:58 +02:00
parent 7fcc93aa5b
commit 5962b557c8
9 changed files with 65 additions and 24 deletions

View File

@ -901,6 +901,10 @@ class Infusion extends Interpretation
// setup the templates
$this->setCustomViewTemplateBody($view);
// set the site form if needed
$this->fileContentDynamic[$view['settings']->code][$this->hhh . 'SITE_TOP_FORM' . $this->hhh] = $this->setCustomViewForm($view['settings']->code, 1);
$this->fileContentDynamic[$view['settings']->code][$this->hhh . 'SITE_BOTTOM_FORM' . $this->hhh] = $this->setCustomViewForm($view['settings']->code, 2);
}
// setup the layouts
$this->setCustomViewLayouts();