You are doing it wrong, the URLs would be like so: domain.com/controller/action/ domain.com/plugin/controller/action/
You cant go to domain.com/plugin/ and have it work without setting up routes. On Apr 16, 11:18 am, Martin Westin <[email protected]> wrote: > Hi, > Plugins do work. I have whole apps build with a limited core and > numerous plugins (22 of them in one case). > > I can think of a few details to double-check. > > I don't think you should have plugins named in camelCase. Try naming > the folder and the urls you try pizza_order instead. (The plugin in > the manual is simply named pizza btw) > > app/plugin/poll/ > the plugins folder should be named plugins (with an s). You write it > in singular form without the s in one place. > > Plugins must have the equivalent of pizza_app_controller.php and > possible pizza_app_model.php too. Without them the plugin will not be > "found". At least that was the case when I started using plugins, it > may have changed but I still have them in each plugin. > > The final detail I can think of is some rewrite detail messing with > you. Unlikely but since I never run apps as anything but their own > vhost I can't be 100% how plugins react to being in a subfolder. (as > in localhost/apname/) > > Those are all long-shots but they are all I can think of that might be > the cause. > Good luck. > /Martin > > On Apr 16, 5:28 pm, islam4hak <[email protected]> wrote: > > > > > hi > > why i cant accses any plugin i create ? > > > i make the manual tutorial to create the pizzOrder plugin > > but i cant access to it /pluginname/controllername/action > > > so i bake another plugin but i cant access it to > > > app/plugin/poll/ > > i tryhttp://localhost/appname/poll/ > > it dont work > > > Error: PollController could not be found. > > > Error: Create the class PollController below in file: appname > > \controllers\poll_controller.php > > > so i download a ready to user plugin and i cant access it to > > ? > > > the plugin is AJAX star rating plugin for CakePHP 1.2 > > i tryhttp://localhost/appname/rating/ > > > so what i'm doing wrong ? > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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 [email protected] > > To unsubscribe from this group, send email to > > [email protected] For more options, visit this group > > athttp://groups.google.com/group/cake-php?hl=en > > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > athttp://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 [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
