Eh, it did not work. And I read those pages, it does not seem to tell
me. Do I need to do this manually using find() to find all the
categories and than pass those to the input through 'options' or will
cake do some magic because of my $belongsTo definition? Also, if I do
it manually, how would I call the Categories modal from the Scripts
controller? This obviously did not work in my Scripts controller:
$this->Category->find('all', array('recursive' => -1));
Thanks,
Jonah
On Jun 20, 12:40 am, "dr. Hannibal Lecter" <[EMAIL PROTECTED]>
wrote:
> Try using $form->select('Entry.category_id', ...)
>
> http://manual.cakephp.org/view/182/formhttp://api.cakephp.org/class_form_helper.html#5171e675468c9665db0653c...
>
> Any if you get stuck, read this one too:
>
> http://groups.google.com/group/cake-php/browse_thread/thread/fb6b71db...
>
> On Jun 20, 2:35 am, "Turnquist, Jonah" <[EMAIL PROTECTED]> wrote:
>
> > Also i should note that right now it's just showing a text box, no
> > drop down
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---