Which Ways Exist In Magento To Add Router Classes?

Q. Which ways exist in Magento to add router classes?


<routers> <!– declare default routers–>




Then you should declare your module router in a normal way, using the parameter <use>your_custom_router</use> instead of “standard”.

2. using event observer

then in observer class,
public function initControllerRouters($observer)
/* @var $front Mage_Core_Controller_Varien_Front */
$front = $observer->getEvent()->getFront();

$front->addRouter(‘cms’, $this);

Zeen is a next generation WordPress theme. It’s powerful, beautifully designed and comes with everything you need to engage your visitors and increase conversions.

Read More
What Is The Difference Between Payment Method And Payment Classes?