/** * @return string */ protected function getEntryPointTemplate() { if($this->isFull) return $this->templateRootDirectory() . '/application-library/full.tpl'; return parent::getEntryPointTemplate(); }
protected function getEntryPointTemplate() { if($this->isFull) { return $this->templateRootDirectory() . '/3d-anatomy/child.tpl'; } return parent::getEntryPointTemplate(); }
/** * @return string */ protected function getEntryPointTemplate() { if ( $this->page ) { if ($this->page->attribute('type') == MMStaticPage::TYPE_EMPTY_LAYOUT) { return 'esibuild/app_content/page/empty_view.tpl'; } if ($this->page->attribute('type') == MMStaticPage::TYPE_CONTENT_ONLY) { return 'esibuild/app_content/page/content_only.tpl'; } } return parent::getEntryPointTemplate(); }
/** * @return string */ protected function getEntryPointTemplate() { if( $this->node instanceof eZContentObjectTreeNode ) { $templateRootDirectory = $this->templateRootDirectory(); switch( $this->fullContext ) { case 'section': $template = $templateRootDirectory . '/merck-manual-section/block_view.tpl'; break; case 'chapter': case 'topic': if( $this->node->fetchParent()->ClassIdentifier == 'application_folder' ) $template = $templateRootDirectory . '/merck-manual-chapter/merck-manual-chapter.tpl'; else $template = $templateRootDirectory . '/merck-manual-chapter/merck-manual-topic.tpl'; break; case 'image': case 'image-file': case 'video': case 'audio': case 'table': $template = "$templateRootDirectory/merck-manual-media/merck-manual-media-{$this->fullContext}.tpl"; break; default: $template = parent::getEntryPointTemplate(); } } else { $template = parent::getEntryPointTemplate(); } return $template; }
/** * @return string */ protected function getEntryPointTemplate() { switch (true) { case $this->isFull : return $this->_params['ModuleName'].'/'.$this->_params['Block'].'/full/block_view.tpl'; case $this->isSeo : return $this->_params['ModuleName'].'/'.$this->_params['Block'].'/seo/block_view.tpl'; case $this->isHomepage : return $this->_params['ModuleName'].'/'.$this->_params['Block'].'/list-home/block_view.tpl'; default : return parent::getEntryPointTemplate(); } }
/** * @return string */ public function getEntryPointTemplate() { if (isset($this->_params['UserParameters']['token'])) { $this->pushResult('token', $this->_params['UserParameters']['token']); return $this->templateRootDirectory().'/reset-password/new_password.tpl'; } return parent::getEntryPointTemplate(); }
/** * @return string */ protected function getEntryPointTemplate() { return $this->fullContext == 'topic' ? $this->templateRootDirectory() . '/merck-manual-chapter/merck-manual-topic.tpl' : parent::getEntryPointTemplate(); }