hi,

I am having a problem with generating Urls using the URL view helper, on a
page which is using the router.

I have a router setup as this:
$router->addRoute('profile',new
Zend_Controller_Router_Route('profile/:username',array('module'=>'default','controller'
=> 'profile','action' => 'index')));
This means that visiting:
http://mysite/profile/anyusername
Will work the same as:
http://mysite/profile/index/username/anyusername

The problem I have is that any url generated with the url view helper e.g.
$this->url(array('module'=>'default','controller'=>'login','action'=>'index');
Will not work, and the url I get instead is:
http://mysite/profile/anyusername

Please can someone help with this issue.
Thanks in advance
-- 
View this message in context: 
http://www.nabble.com/Url-Helper-on-Routed-Page-tp21416339p21416339.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to