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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Default Tab


Reply

3 Posts   849 Views

Avatar
MartinPhone

17 July 2011 at 10:03am (Last edited: 17 July 2011 10:06am), Community Member, 57 Posts

If I understand correctly, the tab you navigate to in the CMS is the tab that will appear on the next page you go to edit. This makes a lot of sense and is cool.

HOWEVER! I'd like my new HomePage page type to default to the widgets tab, as that's the only real point of the home page. It's just a bunch of widgets. Does that make sense and is it possible to change the default tab to appear in the CMS?

EDIT: I've realised what I want could be achieved by simply hiding the Main, (and Meta data and Site map) tabs. Am I barking up totally the wrong tree?

Avatar
zenmonkey

19 July 2011 at 3:09am Community Member, 528 Posts

You can always use

removeFieldFromTab() to remove any unnecessary fields http://silverstripe.org/archive/show/1610

Avatar
MartinPhone

28 July 2011 at 10:44am Community Member, 57 Posts

Thanks, that's perfect. I should have pursued that edit: thought further!