Hello, You shouldn't use mobile.chains.confirm as name of route ... Try something like that instead :
resources.router.routes.mobile-chains-confirm.type = "Zend_Controller_Router_Route_Static" resources.router.routes.mobile-chains-confirm.route = "confirmation.html" resources.router.routes.mobile-chains-confirm.defaults.controller = "mobile" resources.router.routes.mobile-chains-confirm.defaults.action = "confirmation" and then : $this->url(array(), 'mobile-chains-confirm'); Regards, Emmanuel 2012/1/27 Apsy Kopate <[email protected]>: > Do I have to think there's no answers to my problem ? :/ > > On Thu, Jan 26, 2012 at 11:54 AM, Apsy Kopate <[email protected]> wrote: > >> Hi community, >> >> How can I get the "confirm" route with URL View helper for a config like : >> >> ; Main route >> >> resources.router.routes.mobile.type = >> "Zend_Controller_Router_Route_Hostname" >> resources.router.routes.mobile.route = "m.mondomain.fr" >> resources.router.routes.mobile.defaults.controller = mobile >> >> ; Confirmation route >> >> resources.router.routes.mobile.chains.confirm.type = >> "Zend_Controller_Router_Route_Static" >> resources.router.routes.mobile.chains.confirm.route = "confirmation.html" >> resources.router.routes.mobile.chains.confirm.defaults.controller = " >> mobile" >> resources.router.routes.mobile.chains.confirm.defaults.action = >> "confirmation" >> >> Using $this->url(array(), 'confirm') in my view doesn't work. >> >> Thanks for any help ! >> -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
