Thanks for the info, it appears I was malforming my url options in my code from the database so the url helper wasn't handling the details as I was expecting.
Thanks Simon Matthew Weier O'Phinney-3 wrote: > > -- SiCo007 <[EMAIL PROTECTED]> wrote > (on Thursday, 08 November 2007, 05:14 AM -0800): >> >> I'm using the url helper to produce urls for my sites navigation. All >> works >> well except when I pass additional parameters to a url. All the following >> urls on that page then contain those additional parameters. How do I stop >> this? Do I need to create my own url helper? >> >> Route Path: http://zframe/admin/cache/ >> Parameter Path: http://zframe/admin/cache/delete/id/acl/ >> >> All new urls: http://zframe/admin/cache/index/id/acl/ >> >> Any help or advice would be great, sending reset semi works but makes all >> the urls contain index for the controller, I'd rather have plain urls: >> >> With Controller: http://zframe/admin/cache/index/ > > The third argument to the url helper is a 'reset' flag. Pass in a true > value on each call, and you should be okay: > > <?= $this->url($params, $routeName, true) ?> > > -- > Matthew Weier O'Phinney > PHP Developer | [EMAIL PROTECTED] > Zend - The PHP Company | http://www.zend.com/ > > ----- Simon Corless http://www.ajb007.co.uk/ -- View this message in context: http://www.nabble.com/Urls---Using-the-Url-Helper-tf4770792s16154.html#a13647505 Sent from the Zend Framework mailing list archive at Nabble.com.
