protected function getViewChildTemplate($parentForm, $childForm) { if ($parentForm == 'person') { return 'view_' . $childForm . '.html'; } else { return parent::getViewChildTemplate($parentForm, $childForm); } }
/** * Load the template (HTML or XML) files to the template object. * * */ protected function loadHTMLTemplates() { if (!parent::loadHTMLTemplates()) { return false; } if (!$this->template->appendFileByNode('tab_container.html', 'div', $this->template->getElementByID('siteContent'))) { return false; } return true; }