what not use the array controller and action attribute in form create...
like
<? $form->create('Signup', array('controller' => 'THECONTROLLER', 'action'
=> 'YOUR ACTION'))?>
On Sun, Feb 22, 2009 at 4:53 AM, horatio <[email protected]> wrote:
>
>
> $this->here is "/order/signup/wizard/account"
>
> and cake lives in
>
> domain.com/order/(cake/ <http://domain.com/order/%28cake/> and app/ here)
>
> but for some reason
> <?=$form->create('Signup',array('id'=>'SignupForm','url'=>$this->here));?>
>
> produces:
>
> action="/order/order/signup/wizard/account"
>
> note the double /order/order/ at the beginning.
>
> why is this happening?
>
> --
> View this message in context:
> http://www.nabble.com/form-helper-prepending-directory-name-when-not-needed--tp22115974p22115974.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---