Beispiel #1
0
 public function __construct()
 {
     $this->_controller = 'adminhtml_nwdrevslider';
     $this->_blockGroup = 'nwdrevslider';
     $this->_headerText = Mage::helper('nwdrevslider')->__('Revolution Slider');
     parent::__construct();
 }
Beispiel #2
0
 public function __construct()
 {
     parent::__construct();
     //Active le theme mdn
     Mage::getDesign()->setTheme('mdn')->setArea('adminhtml')->setPackageName('default');
 }
Beispiel #3
0
 /**
  * @param Mage_Adminhtml_Block_Page $block
  * @throws Exception
  * @return void
  */
 protected function _addMassActions($block)
 {
     switch ($block->getRequest()->getControllerName()) {
         case self::SALES_ORDER_GRID_CONTROLLER:
             if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/mass_edit_order_attach')) {
                 $block->addItem('update_order_attach', array('label' => Mage::helper('sales')->__('Edit Orders Notes and Files'), 'url' => Mage::app()->getStore()->getUrl('adminhtml/amorderattach_orderAttach/edit')));
             }
             break;
     }
 }