I heavily use AD7six's mini-controllers approach (http://
www.noswad.me.uk/MiBlog/MiniControllers) and because I combine this
approach with the normal approach of having a model, controller, view,
it would really be nice if I could bundle all this into a plugin.

Is it possible to have components and elements insie a plugin, and if
so, how can I make sure Cake finds them?

I tried the normal way:
var $components ('users'); -> should look in /plugins/my_plugin/
contollers/components/users.php

and

$this->renderElement('users'); -> should look in /plugins/my_plugin/
views/elements/users.thtml

But for some reason this doesn't work. Any suggestions?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to