Thursday, February 26, 2009

Re: CakePHP Newbie about dropdown

Is your Course model's filename correct? It should be exactly
"course.php" (all lowercase).
Also, you have model attributes in your controllers. The $hasMany and
$belongsTo should go in their respective model class files.

If you're still having issues, try instantiating the model class
explicitly using: ClassRegistry::init('Course')->Provider->generateList
();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: