well as Form::create all use Router::url.
See:
http://book.cakephp.org/view/836/link
http://book.cakephp.org/view/842/url
http://book.cakephp.org/view/186/options-url
On Nov 25, 2:46 pm, Ragnis <ragnis.ar...@gmail.com> wrote:
> But how can i use it in form url?
>
> On Nov 25, 5:29 am, "Dr. Loboto" <drlob...@gmail.com> wrote:
>
> > All as you asked. And Cake properly encoded HTML entities as symbols
> > "&" are restricted in source and must be represented in text as &
>
> > On Nov 24, 9:43 pm, Ragnis <ragnis.ar...@gmail.com> wrote:
>
> > > When doing it like this:
> > > array ('controller' => 'Accounts', 'action' => 'Manage', '?' => array
> > > ('var' => 'b73cr6xzr6z', 'var2' => 'somethingelse'))
> > > then the result will be /Accounts/Manage/?
> > > var=b73cr6xzr6z&var2=somethingelse
>
> > > On Nov 24, 6:31 am, "Dr. Loboto" <drlob...@gmail.com> wrote:
>
> > > > You can set form action as:
> > > > array ('controller' => 'Accounts', 'action' => 'Manage', '?' => array
> > > > ('var' => 'b73cr6xzr6z', 'var2' => 'somethingelse'))
>
> > > > On Nov 23, 9:22 pm, Ragnis <ragnis.ar...@gmail.com> wrote:
>
> > > > > I need them as GET variables.
> > > > > My form is at /Accounts/Manage/?var=b73cr6xzr6z&var2=somethingelse and
> > > > > when i submit the form, the GET variables will be gone but i want them
> > > > > to stay.
>
> > > > > On Nov 22, 11:39 pm, Amit <a...@amitvaria.com> wrote:
>
> > > > > > Is there a reason you can't just include the vars in the form?
>
> > > > > > $form->input('var', array('type'=>'hidden', 'value'=> 'b73cr6xzr6z'));
>
> > > > > > On Nov 22, 12:54 pm, Ragnis <ragnis.ar...@gmail.com> wrote:
>
> > > > > > > So how can i do that?
> > > > > > > And i don't want to use /Accounts/Manage/var:b73cr6xzr6z/
> > > > > > > var2:somethingelse
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment