I want to use a URL like this:
site.com/car-list/param1/value1/param2/value2
"car" is variable and can be anything. I solved the site.com/car-list part as follows:
$categoryRoute = new Zend_Controller_Router_Route_Regex( '(\b.+\-list\b)', array( 'module' => 'default', 'controller' => 'search', 'action' => 'index' ), array( 1 => 'productType' ) );
I can get the "car-list" when I need the productType parameter. But I can not get the rest of the url with $ this β _ getParam () in the controller.
How can i do this? thanks.
source share