Super it works! Thanks!!!

On 25 apr, 13:34, dardosordi <[EMAIL PROTECTED]> wrote:
> Try this in the controller,
>
> $this->data['Page']['title'] = $this->data['Node']['title']
>
> $this->Node->save($this->data)
> $this->Page->save($this->data)
>
> On Apr 24, 8:29 am, Oneill <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi guys,
>
> > I would like to save one inputfield to two models. But it only works
> > when I make to inputfield: Page\title and Node\title. I just want one
> > inputfield for both... same data!
> > How can I fill Node\title with the data of Page\title? Or have someone
> > an other suggestion?
>
> > Ciao- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -


--~--~---------~--~----~------------~-------~--~----~
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