Ups i didn´t see that he corrected me...
thanks cricket for helping and john too.



2010/6/19 John Andersen <j.andersen...@gmail.com>

> As Cricket stated, your Add model is not inheriated from the AppModel
> or another PluginAppModel, so it is not considered a model, thus it
> has no find method!
> Enjoy,
>   John
>
> On Jun 19, 11:25 pm, Davor Ilic <webfa...@gmail.com> wrote:
> > Hi John,
> >
> > is that you need? I put give the controller and the model of Add.
> >
> > thanks for help
> >
> > 2010/6/19 Davor Ilic <webfa...@gmail.com>
> >
> > > no i´m sorry for the missunderstood the addscontroller is not only for
> > > commuincate to DB to add something.
> > > The addcontroller is the Headcontroller of Plugin, Apps and Widgets for
> > > add, edit, update and delete it not only to add it.
> >
> > > did you mean this ?
> >
> > > 2010/6/19 cricket <zijn.digi...@gmail.com>
> >
> > > On Jun 19, 2:17 pm, Davor Ilic <webfa...@gmail.com> wrote:
> > >> > the add.php here i haven´t defiend more than this  <?php
> >
> > >> >  class Add extends App {
> >
> > >> class Add extends AppModel
> >
> > >> Looking at your controller code, though, I have to say that it seems
> > >> like you're making things more difficult than they need to be. I
> > >> believe you'd be much better off scrapping this controller and model
> > >> and, instead, add your themes, widgets, etc. using separate (themes,
> > >> widgets, etc.) controllers and models. For each "thing" create a
> > >> model, then a controller with which to add, edit, delete, etc. that
> > >> "thing".
> >
> > >> Check out the new CakePHP Questions sitehttp://cakeqs.organd help
> > >> others with their CakePHP related questions.
> >
> > >> 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+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>
> <cake-php%2bunsubscr...@googlegroups.com<cake-php%252bunsubscr...@googlegroups.com>>For
> more options, visit this group at
> > >>http://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to