hi all,
i have very strange problem.
In my index.php i have defined routes for some action like this:
$routes['browse_subcat'] = new Zend_Controller_Router_Route(
':lang/:controller/browse/:category/:subcategory',
array(
'module' => 'default',
'lang' => 'en',
'action' => 'browse',
'controller' => 'business'
)
);
$routes['browse'] = new Zend_Controller_Router_Route(
':lang/:controller/browse/:category',
array(
'module' => 'default',
'lang' => 'en',
'action' => 'browse',
'controller' => 'business'
)
);
In above routing my paging does not works.
Paging works fine if i define routing as
':lang/:controller/browse/:category/*' and
':lang/:controller/browse/:category/:subcategory/*',
as browse/category/page/2 and so on for other pages also.
but when i turn to url browse/category/subcategory/ it does not takes
subcategory parameter from url and results does not comes as expected.
can anybody help me in this regard as to get my paging works properly and
also resullts should filter on category and subcategory.Its really urgent.
--
View this message in context:
http://www.nabble.com/category%2Csubcategory-routing-tp17202441p17202441.html
Sent from the Zend Framework mailing list archive at Nabble.com.