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

global site config - changing fields viewed in site tree


Reply


2 Posts   427 Views

Avatar
honeybunny

Community Member, 79 Posts

30 April 2012 at 11:48pm

Edited: 01/05/2012 12:24am

I need to remove "theme" and "tagline" from the options in the site tree global site config, where is the code that controls this?

HB

Avatar
danzzz

Community Member, 175 Posts

2 May 2012 at 6:02am

hi

check out this tutorial:
http://www.ssbits.com/tutorials/2010/2-4-working-with-siteconfig/

you can remove the 2 fields with:

$fields->removeFieldFromTab.....