No Frills magento layout -
i going through examples on "no frills magento layout" , on example 1.11 "a full page layout" not working me getting blank page
looks there problem fetchview
public function fetchview ( $filename ) { // ignores file name , uses simple include template name $this -> setscriptpath ( mage :: getmoduledir ('', ' nofrills_booklayout ') . ds . 'design ' ); return parent :: fetchview ($this -> gettemplate ()); }
i using magento 1.7.0.2 community edition
got solution myself. following method missing in template file
public function setscriptpath($dir) { parent::setscriptpath($dir); //if important happens there in future version $this->_viewdir = mage::getmoduledir('', 'nofrills_booklayout') . ds . 'design'; return $this; //as original }
after adding full page layout build up.
Comments
Post a Comment