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.

Customising the CMS

Tabbed Content


Reply

2 Posts   597 Views

Avatar
njprrogers

28 March 2011 at 11:22pm Community Member, 23 Posts

Hi,

I have a request to create tabbed content which can be content managed by the user through the CMS Admin.

What is the best way to structure this within SilverStripe?

Is it by creating child pages of a page type "tabbed content" or something similar? And then pulling in the pages in the templating layer?

Thanks!

Nick

Avatar
Willr

29 March 2011 at 11:59pm Forum Moderator, 5511 Posts

If depends on the complexity of your tab content, if you're simply using an Html field then you could add a field to your page type and have multiple html content boxes. Tutorial 2 explains how to add content fields to your page. If you have tons of tabs and more complex fields then pages work well.