Glad I could help :) The LIFO rule only applies when routing a request, but not when assembling URLs. When assembling a URL, either through Zend_Navigation or the "url" view helper, the route will be set to the currently matched route unless you specify otherwise.
-- Hector On Wed, Mar 24, 2010 at 6:22 AM, zeliboba <[email protected]> wrote: > > Hector, thank you very much! > > I chosed another way of routes declaration. In bootstrap.php. So, I added > also key 'route' = 'default' in pages array in navigation declaration, and > it works now. > > I am sorry to bother you again. > > But as I remember in manual about routes the order of routes execution is > this: first of all launches last added router. If it hasn't rules to > complete provided http request - next route should launch. In current case > if 'wedding' router hasn't got needed rules, then 'default' router should > lauch automatically. But as we see - it didn't launch. The question is why? > -- > View this message in context: > http://n4.nabble.com/Default-router-still-goes-ahead-of-custom-tp1679098p1680529.html > Sent from the Zend Framework mailing list archive at Nabble.com. >
