There are several ways to find out which route / Controller / Action path has one side of the shop. This is required e.g.. if you want to exclude or certain areas of the shop for functions just include. A specific application is e.g.. extension Members Only Catalog by Vinai Kopp. The extension can be used, to the shop “complete” to grant access only registered people.
Under German law certain pages must (such as e.g.. the imprint) but always be visible. Thus, this page should be visible to a person Unregistered.
In the Extension specific areas of a shop by entering the path can now be divided into Route / Controller / Action excluded from inspection.
To do this, simply copied quick and dirty following code e.g.. in the header.phtml of your own templates (top pure):
Route: <?php echo $this->getRequest()->getRouteName(); ?><br /> Controller: <?php echo $this->getRequest()->getControllerName(); ?><br /> Action: <?php echo $this->getRequest()->getActionName(); ?><br /> Path: <?php echo $this->getRequest()->getRouteName(); ?>/<?php echo $this->getRequest()->getControllerName(); ?>/<?php echo $this->getRequest()->getActionName(); ?>
Then load the front end and the desired page and at the top is everything.
A CMS page would e.g.. the path cms / page / view
The Use Registry customer / account / create
I forgot my password? customer/account/forgotpassword
Once you know what you need: Remove code again.
Used in Magento versions 1.4 – 1.9 Comments? Additions? Notes? Gladly!