Re: [fw-general] url generation

2006-11-29 Thread Martel Valgoerad
Daniel Kipp wrote: Unfortunately this one is also outdated! Zend_Controller_Front isn't singleton any more. this means you can't call getInstance() on it. But it is. The change was reverted some time ago. Please update your sources. I'm still looking for an easy, good and router supported way

Re: [fw-general] url generation

2006-11-29 Thread Simon Mundy
Yes you can! You may need to update your copy from SVN, but Matthew re-introduced it. It still works pretty well. Cheers Unfortunately this one is also outdated! Zend_Controller_Front isn't singleton any more. this means you can't call getInstance() on it. I'm still looking for an easy,

SV: [fw-general] url generation

2006-11-29 Thread Asger Hallas - butterflies
Zend_Controller_Front is back as a singleton in SVN... /asger > -Oprindelig meddelelse- > Fra: Daniel Kipp [mailto:[EMAIL PROTECTED] > Sendt: 29. november 2006 13:41 > Til: Cameron Brunner; Zend Framework > Emne: Re: [fw-general] url generation > > Unfortuna

Re: [fw-general] url generation

2006-11-29 Thread Daniel Kipp
Unfortunately this one is also outdated! Zend_Controller_Front isn't singleton any more. this means you can't call getInstance() on it. I'm still looking for an easy, good and router supported way for URL creation. Any ideas? daniel Cameron Brunner schrieb: The current url helper in the inc

Re: [fw-general] url generation

2006-11-28 Thread Wojciech Naruniec
Hello, Try with url helper from incubator: incubator/library/Zend/View/Helper/Url.php You should have incubator path in include_path and then use this helper in the view script: echo $this->url(Array('controller'=>'user','action'=>'edit', 'id' => $this->userId),'nameoftheroute'); ?> Greetin

[fw-general] url generation

2006-11-28 Thread Daniel Kipp
hi all Is there already a nice way to generate URL's in a view? I'm using 0.2 incubator and couldn't find a solution jet. daniel