Hi
I’m using the cakedc users plugin in my app and have it working well. I’d like to extend it now and I have read through the readme “How to extend the plugin” https://github.com/CakeDC/users#how-to-extend-the-plugin, where they give example controller called AppUsersController and model called AppUser. App::uses('UsersController', 'Users.Controller'); class AppUsersController extends UsersController { public function beforeFilter() { parent::beforeFilter(); $this->User = ClassRegistry::init('AppUser'); } } App::uses('User', 'Users.Model'); class AppUser extends User { public $useTable = 'users'; } My question is where do you place this controller/model/view files? Do you extend a plugin and place them the main app folders or the plugin folders? /myapp/Controller/AppUsersController.php Or /myapp/Plugin/users/Controller/AppUsersController.php I have tried both and it works in the /plugin/ folder but I just want to make sure that is correct. Thanks in advance -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- 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]. Visit this group at http://groups.google.com/group/cake-php?hl=en.
