getLayout()->getBlock('breadcrumbs'); $breadcrumbs->addCrumb('home', array('label'=>Mage::helper('cms')->__('Home'), 'title'=>Mage::helper('cms')->__('Home Page'), 'link'=>Mage::getBaseUrl())); $breadcrumbs->addCrumb('faq', array('label'=>'FAQ', 'title'=>'FAQ', 'link'=>Mage::getUrl("quickfaq"))); $breadcrumbs->addCrumb('search', array('label'=>Mage::helper('quickfaq')->__('Search'), 'title'=>Mage::helper('quickfaq')->__('Search'), 'link'=>Mage::getUrl("quickfaq/search/result"))); return parent::_prepareLayout(); } public function getStoreId() { if(!$this->hasData('store_id')) { $store_id = Mage::app()->getStore()->getId(); $this->setData('store_id',$store_id); } return $this->getData('store_id'); } }