<?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>Forum posts to 'Archive'</title>
		<link>http://www.silverstripe.org/archive/rss</link>
		<atom:link href="http://www.silverstripe.org/archive/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Re: How I can make 3 site view with 1 database</title>
			<link>http://www.silverstripe.org/archive/show/242813?start=0#post243174</link>
			<description>&lt;p&gt;Well its basically like how the current theme preview system works - its sets the theme name in the url. So exactly how you have done will work you just need this in your _config file.&lt;/p&gt;&lt;p&gt;Check to see if theme is set otherwise default to 'askold'&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;// in mysite / _config.php&lt;br /&gt;$theme = (isset($_GET['theme']) ? $_GET['theme'] : 'askold';&lt;/p&gt;&lt;p&gt;SSViewer::set_theme($theme);&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How I can make 3 site view with 1 database &lt;a href=&quot;http://www.silverstripe.org/archive/show/242813?start=0#post243174&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/242813?start=0#post243174&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Fri, 05 Dec 2008 11:12:36 +1300</pubDate>
			<dc:creator>willr</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/242813?start=0#post243174</guid>
		</item>
		
		<item>
			<title>How I can make 3 site view with 1 database</title>
			<link>http://www.silverstripe.org/archive/show/242813#post242813</link>
			<description>&lt;p&gt;how to use one database for multiple patterns simultaneously?&lt;br /&gt;I will be in the 1 site to showcase my designed templates&lt;br /&gt;How could it be implemented?&lt;br /&gt;I think I can help&lt;br /&gt;?theme=mysite1&amp;amp;flush=1&lt;br /&gt;?theme=mysite2&amp;amp;flush=1&lt;br /&gt;?theme=mysite3&amp;amp;flush=1&lt;/p&gt;&lt;p&gt;but what I write in _config.php instead&lt;br /&gt;SSViewer:: set_theme ( 'askold');&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How I can make 3 site view with 1 database &lt;a href=&quot;http://www.silverstripe.org/archive/show/242813#post242813&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/242813#post242813&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Thu, 04 Dec 2008 21:49:41 +1300</pubDate>
			<dc:creator>fiord</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/242813#post242813</guid>
		</item>
		

	</channel>
</rss>