Thanks for the response, aran. After researching the issue as much as I could, I'm left with the impression that plugins are broken in 1.2. Or at least not very reliable.
Has anyone confirmed that the basic pizza orders example in the manual still works? I was never able to get it working (see earlier post). I've given up on plugins for the time being and am focusing on developing an application-independent library, as detailed here: http://bakery.cakephp.org/articles/view/maintaining-an-application-independant-code-library Tom On Apr 13, 7:26 pm, aranworld <[EMAIL PROTECTED]> wrote: > Make sure you are following the advice in the following article: > > http://aranworld.com/article/143/cakephp-model-associations-from-with... > > In short, I have had problems with models from the plugin not being > automatically found, so I had to do a: > > App::import('Model', 'Author'); > > Before I began the class declaration for the Model that existed in the > plugin/models directory. > > -Aran > > On Apr 12, 5:20 pm, klenwell <[EMAIL PROTECTED]> wrote: > > > I had ambitious plans for a plugin that could be used by multiple > > cakephp apps on the same server. But I can't even get the basic > > example from the cookbook work: > > >http://book.cakephp.org/view/114/plugins > > > I'm using CakePHP 1.2 with Php 5 and went through the example step-by- > > step. Still, when I go tohttp://domain.com//pizza/pizzaOrders, I get > > the missing controller error: > > > Error: Create the class PizzaController below in file: cake_app > > \controllers\pizza_controller.php > > > A couple questions: > > > 1. Do I have to do anything special to "load" or "install" the plugin, > > like set a route? > > > 2. Cab changing the default directory/path settings break things? > > Following the instructions here > > --http://book.cakephp.org/view/32/installation#advanced-installation-35 > > -- I customized the installation a bit. The app folder is in home/ > > projectname/cake_app/. The setup works with regular controllers. But > > I can't get the plugins working. > > > Can anyone point out what I'm missing here? Thanks, > > > Tom --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
