CakeDC Users Plugin

565 views Asked by At

I have installed the CakeDC Users Plugin but I like to use it also in the Admin-backend of my application. Can someone point me out how to start with this? Is this Plugin already complete and do I only need to duplicate the Controllers and Templates into an Admin-folder? Or is this just the registration, login, etc... for the users and do I need to bake all backend stuff from scratch? I'm missing some info on this in the docs. Grateful for any step by step help to put me on the right track.

1

There are 1 answers

2
steinkel On

Your use case matches with the documentation here Github CakeDC Documentation you might want to create a new controller inside your admin folder, and then use the traits you need to attach the features required.

You can re-use plugin templates too but usually you'll be rewriting the templates to match your site UI. If you still want to reuse plugin templates you can change your view path in the admin controller's beforeRender callback.

The plugin is complete and it's being used in several live applications now.