Here is a snippet of code you can add to your phtml to display the names of your controller, action, router, model en blocktype. <?php $ctrl_name = Mage::app()->getRequest()->getControllerName(); ?> <?php echo('controller name : '.$ctrl_name.'<br>'); ?> <?php $act_name = Mage::app()->getRequest()->getActionName(); ?> <?php echo('action name : '.$act_name.'<br>'); ?> <?php $route_name = Mage::app()->getRequest()->getRouteName(); ?> <?php echo('route name : […]
↧