Maybe I am not wording this right.

How can I make my custom URLs based in the routes.php file appear when
using the form helper ($form->create('Post');)

My Custom URLs look like :  /:customParam/:controller/:action/*

But my form tags come out looking like : /controller/action/ rather
than /customParam/controller/action/

Is this possible?

On Oct 28, 3:52 pm, Dateve <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a question. I am using cake 1.2.0.5427alpha.
>
> I have changed my routing to:
> Router::connect('/:tour/:controller/:action/*', array());
>
> When I create a form in my view:
> <?php echo $form->create('Post');?>
> it returns the following html:
> <form action="/posts/edit/1" method="post" id="PostEditForm">
>
> I would like the view code:
> <?php echo $form->create('Post');?>
> to create html with a slight change to the form action like the
> following:
> <form action="tourname/posts/edit/1" method="post" id="PostEditForm">
>
> Is this possible?
>
> Thanks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to