I need to know where to put controller and model for creating Themes as plugins in cakephp 3

I am working on Cakephp 3. I am little bit confused. I have created theme as a plugin and i want to know whether to code it in theme folder or main project folder. I want to know the general rule how to work with theme when used as a plugin, its controllers and model will be in theme folder or i have to use main application controller folder.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer