Magento Get Module Frontname

Posted on December 24, 2015
Written by

I recently had to get the frontname of a module programatically for the purposes of adding the frontname to Magento’s sitemap. In the case of this module the URL was dynamic so could not be statically added.

For example :

Where your config.xml file looks like this :