Monday, August 22, 2011

Re: $this->Form->create doesn't work as stated

I'm having tough time with this configuration, I followed the one on the CakePHP's book and just did a copy paste, the site just load the IIS default page with the web.config. Is there a way to fix this without using any URL Rewriting?

Thanks.

Regards,
Jerome

On Mon, Aug 22, 2011 at 3:21 AM, Tilen Majerle <tilen.majerle@gmail.com> wrote:
For me it's working well..
Actually...this is maybe because you are not using .htaccess...i didn't check this !


Which cake version?
--
Lep pozdrav, Tilen Majerle



2011/8/21 Jerome Tan <jtan1ph@gmail.com>
I have tried checking and couldn't find out what's wrong with this, or
is this a bug?

I added this line on my code..

echo $this->Form->create('Brand');

then result is:

<form action="/stock/index.php/brands" id="BrandIndexForm"
method="post" accept-charset="utf-8"><div style="display:none;">

from the references the HTML code generated lacks "add" as it should
add "s" on the form name then add "/add"

Is this a bug?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

No comments: