Exemplo n.º 1
0
 protected function _toHtml()
 {
     if (Mage::getStoreConfigFlag('menuadmin/general/enabled')) {
         return parent::_toHtml();
     }
     return '';
 }
Exemplo n.º 2
0
 protected function _toHtml()
 {
     /* tim kiv added code not to show up left menu on check out tim.kiv@webdecade.com  www.webdecade.com*/
     if ($_SERVER['REQUEST_URI'] != "/checkout/onepage/") {
         if (Mage::getStoreConfigFlag('menuadmin/left/enabled')) {
             return parent::_toHtml();
         }
     }
     return '';
 }