Getting the front name of a route programmatically (Magento 1)

Use the ollowing code to get a routes front name:

The code will return “config”, if you add the following XML to your modules config.xml:

// System Status: Archived

This site is archived and managed by
Vermonta.

Active development has moved. Please choose your interface:

International HQ German Magento Expert (Active)