You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @todo Create some base classes to contain the generic functionality that will be replicated.
This "TODO" comment was created in 2016. We need to investigate this matter and assess its current relevance.
CMSMain and its subclasses are a mess. We should look at refactoring these, preferably in a generic way that provides a more generic "TreeModelAdmin" style class. The CMSMain could just be a subclass of that.
We should ideally not need a sub CMSPageAddController, CMSPageEditController, CMSPageSettingsController, CMSPagesontroller, etc.
The text was updated successfully, but these errors were encountered:
GuySartorelli
changed the title
TODO: CMSMain - Investigate possibility to create some base classes to contain the generic functionality that will be replicated
Refactor CMSMain and its subclasses
Oct 19, 2023
Description
See:
silverstripe-cms/code/Controllers/CMSMain.php
Line 83 in 58a2d58
This "TODO" comment was created in 2016. We need to investigate this matter and assess its current relevance.
CMSMain and its subclasses are a mess. We should look at refactoring these, preferably in a generic way that provides a more generic "TreeModelAdmin" style class. The CMSMain could just be a subclass of that.
We should ideally not need a sub
CMSPageAddController
,CMSPageEditController
,CMSPageSettingsController
,CMSPagesontroller
, etc.The text was updated successfully, but these errors were encountered: