Friday, May 2, 2014

Re: CakeDC's Users plugin action overriding

I think the result you seek is the default functionality? Suggestions:
1. First set it up exactly as directed in the box without overriding, and get it working. This makes you certain of correct installation, schema set-up, etc.
2. Next extend the controller as you have, with the following extra steps
3. Copy the view files from app\Plugin\Users\View\Users to \app\View\AppUsers
4. Add this line to your empty AppUsersController::add() method: return parent::add();

--
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 unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: