_redirect('noroute'); $this->setFlag('',self::FLAG_NO_DISPATCH,true); } return $this; } /** * Display categories listing * */ public function categoryAction() { $update = $this->getLayout()->getUpdate(); $update->addHandle('default'); $this->addActionLayoutHandles(); if (Mage::helper('catalog/map')->getIsUseCategoryTreeMode()) { $update->addHandle(strtolower($this->getFullActionName()).'_tree'); } $this->loadLayoutUpdates(); $this->generateLayoutXml()->generateLayoutBlocks(); $this->renderLayout(); } /** * Display products listing * */ public function productAction() { $this->loadLayout(); $this->renderLayout(); } }