i'm building a new cms which is using many themes completely designed for others (html themes, wp themes , opencart themes etc. )
And I want to build a very flexible module system.
Positions must be freely added and widgets must be added to positions (like opencart but more flexible)
Positions must be disabled or enabled automatically according to the theme
Widgets (say modules for big widgets) must have different styles according to the theme style.
And must have a very usable module management in admin panel.
for instance we have an announcement module. Admin adds announcements like a post in wordpress with featured images.
Each module can be enabled or disabled for every page or pagestyle.
We will need an admin panel page to manage their visiblity , position , viewing style (scrolled , marquee or any plugin usage like jcarousellite ) , and limits, thumbnail sizes etc etc.
and these must have some predefined different values for each theme
i did something similar for slider management but not managed from panel. a function working on the controller which is customized by parameters coming from theme.(And it's getting bigger by every theme :) )
Experts i need some logical help , how would you build a module system like this. How must i shape the admin panel for this .
i mostly like opencarts approach can anyone advise me better , to be inspired