Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Delegating actions in the CMS to other controllers


Go to End


887 Views

Avatar
Dave L

Community Member, 60 Posts

23 October 2014 at 10:57pm

I'm working on a new LeftAndMain subclass. A new section I anticipate will have a lot of activity, multiple tabs, screens, actions. I don't really want to put all this in one LeftAndMain subclass, so what would be the recommended way to put all this activity into logical groups of controller actions? Is there a standard way of delegating actions to other controllers? E.g. one per tab?

Or is it simpler to avoid routing issues and just create a CMS submenu system (https://github.com/ajshort/silverstripe-groupedcmsmenu) with their own LeftAndMain? I would like to know how to delegate if it's possible (and recommended or applied often).