<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Page comments</title>
		<link>http://www.ssbits.com/home/</link>
		<atom:link href="http://www.ssbits.com/home/" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_1868</link>
			<description>This is the SilverStripe 3 version of this: 

_config.php
Object::add_extension('SiteConfig', 'SiteConfigDecorator');

SiteConfigDecorator.php

&lt;?php
class SiteConfigDecorator extends DataExtension {

	static $db = array();

	public function updateCMSFields(FieldList $fields) {
		$fields-&gt;removeByName('Theme');
		$fields-&gt;removeByName('Tagline');
	}

	function __construct() {
		parent::__construct();
	}

}</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_1868</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_474</link>
			<description>Thanks, Dan.  Since reading your post, I use this all the time - it helps to clean up the admin interface - one less thing for the client to get confused about!</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_474</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_190</link>
			<description>Its only useful when doing multi site setups.

This is a great tip though, customer generally will break anything if you give them access too.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_190</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_116</link>
			<description>Yes, I think the theme selection is a bit unnecessary. Never actually used it eithe. Better of  using the space for some global information </description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_116</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_104</link>
			<description>Yes removing the theme selector makes alot of sense in most cases. SiteConfig is also a great place to put global information about the site so that you don't clutter up your homepage.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_104</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_102</link>
			<description>Funnily enough I'd done exactly this myself on one of my sites about half an hour before you posted it. If you want to get rid of the other ones too, because you don't use them anywhere:

$fields-&gt;removeByName('Title');
$fields-&gt;removeByName('Tagline');</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/#PageComment_102</guid>
		</item>
		

	</channel>
</rss>