I upgraded to 2.0 today, which went quite smoothly, but i still have
this problem

the book says:  "You should get a “Missing Model” error"  but i don't
at all.

Looking in the included file list in debugkit - it is including the
controller files for the plugin, but not the model.  I think its just
using the automagic model creation on the fly. (at least i think cake
does that)






On Oct 17, 4:53 pm, "#2Will" <[email protected]> wrote:
> Hello
>
> I'm trying to make a calendar plugin for 1.3.  Its sort of working,
> but the Event model definition is being ignored and so its
> relationship to other models (in the main app) are not working.
>
> I guess im putting it in the wrong place, but ive gone round and round
> and round in circles and its not getting better.
>
> /app/plugins/calendar/models/event.php
> <?php
> class Event extends CalendarAppModel {
>         var $name = 'Event';
> etc
>
> /app/plugins/calendar/controllers/events_controller.php
>
> <?php
> class EventsController extends CalendarAppController {
>         var $uses = array('Calendar.Event');
>
> etc.
>
> As far as i can see that should work.  Any suggestions why it isn't or
> how to work out why it isn't working very much appreciated.  Stumped.
>
> will

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to