Hi Grant,
Thanks for the reply, I'll check it out and let you know if it works!
BTW sorry if my thread appears twice everyone, my Google groups seems
to be playing up today!
J
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On Dec 16, 9:23 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Dec 16, 2007 1:18 PM, Jon Miller <[EMAIL PROTECTED]> wrote:
> Perhaps I am misunderstanding the problem you are trying to explain
> here. What you have is one section of your page that contains a form
> that someone can alter, r
For the form helper - if you have $form->create('YourModel'); then the
form helper will automatically use the "YourModel" model for the
form. However, you can also create each form item with $form-
>input('OtherModel.somefield') to use any other model.
The data that prepopulates these fields is
On Dec 16, 2007 1:18 PM, Jon Miller <[EMAIL PROTECTED]> wrote:
>
> Can anyone tell me how to achieve this change, as RequestAction
> clearly doesn't work. I need to change it so that the form helper
> (using the value function in helper.php) will populate, as it takes
> its criteria from $this->da
Does anyone know a way to change the default model used by a page? I
need to try to 'fool' Cake into believing it's running from a
different URL in part of the page.
My example is for classified listings. On my listings index page,
underneath the main content from the listings controller, I have