Replies: 3 comments 3 replies
-
While I'm not opposed to this in theory, I see the CMS section becoming more of a "Theme Editor" section with a heavier emphasis on a code editor / IDE experience. This could definitely be a good enhancement for the Winter.Pages plugin though; that is really the end user focused content management experience for Winter CMS. Thoughts? |
Beta Was this translation helpful? Give feedback.
-
Definitely agree for the Pages plugin, not sure exactly how that would prevent a rewrite of the CMS section to be more extensible. |
Beta Was this translation helpful? Give feedback.
-
Since we seem to be in agreement that CMS should be made extensible, we need to work up a game plan on how to make this happen. We currently have this sidemenu setup in CMS, Winter.Pages, Winter.Builder. These should all be standardised to use either a new Controller or a new ControllerBehavior. I'm thinking a good first step would be in RainLab.Pages. I'll see how much I can break out of the Index controller and move into the content/menu/page/snippet Widgets. |
Beta Was this translation helpful? Give feedback.
-
Many plugins would benefit from integrating into the CMS area of backend instead of cluttering the main top menu bar. For example a plugin that manages carousels or menus. Extending the CMS area is currently impossible however as the it was not written with extensibility in mind.
The modules/cms/controllers/Index.php file has each base types (Pages, Partials, Layouts, etc) hardcoded into it. I suggest moving the registration of CMS types into their respective classes (Cms\Classes\Page etc) and implement an Interface for the required methods for any class wanting to extend CMS.
This approach has a few benefits.
Because no plugins currently extend the CMS (as it's not possible) there should be no backwards compatibility concerns here. If we can come up with a concrete plan for how we want this idea to be implemented, I'm happy to work on it myself.
Beta Was this translation helpful? Give feedback.
All reactions