<?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: Separate splash / index page?</title>
			<link>http://www.silverstripe.org/archive/show/12435?start=0#post12531</link>
			<description>&lt;p&gt;G'day DesignCity,&lt;/p&gt;&lt;p&gt;I tried to do the first method, but SilverStripe didn't want to play ball.&lt;/p&gt;&lt;p&gt;I futzed about with the second method, and after a bit of trial and error (And a lot of ?flush=1!) I managed to get it to work. Very happy indeed!&lt;/p&gt;&lt;p&gt;Thanks for your advice.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Separate splash / index page? &lt;a href=&quot;http://www.silverstripe.org/archive/show/12435?start=0#post12531&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/12435?start=0#post12531&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Fri, 07 Dec 2007 01:04:19 +1300</pubDate>
			<dc:creator>darkowl</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/12435?start=0#post12531</guid>
		</item>
		
		<item>
			<title>Re: Separate splash / index page?</title>
			<link>http://www.silverstripe.org/archive/show/12435?start=0#post12512</link>
			<description>&lt;p&gt;Hi darkowl,&lt;/p&gt;&lt;p&gt;Not too sure if I'm a particularly clever person, but  I should be able to help  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/grin.gif'&gt; &lt;/p&gt;&lt;p&gt;There are a few ways you can do it. You could put a HomePage.ss file in /mysite/templates, in which case SS will use that for rendering pages with the page type of &quot;Home Page&quot;. This would make your home page the 'splash' page. (also by far the easiest option, but it does mean that you loose the default home page).&lt;/p&gt;&lt;p&gt;The other option is a bit (not much) harder, but leaves your homepage untouched. Create a new page type called Splash. If you've gone through the tutorials, it'll be easy to do. Basically you'll need 2 new files - mysite/code/SplashPage.php and mysite/templates/SplashPage.ss. You should be able to pretty much copy &amp;amp; paste the SplashPage.php file (replacing all instances of HomePage with SplashPage in the file). Once you've done that a quick visit to site.com/db/build?flush=1 will enable you to make a new page which you can set to page type Splash Page.&lt;/p&gt;&lt;p&gt;From here, you probably want to untick the box that allows seaching the page and showing it on menus. Then you want to fill in the box &quot;Use this page as the 'home page' for the following domains: (separate multiple domains with commas)&quot; with the domain name, so that SS will use that as the first page of the site. Then you simply link to /home/ from the splash page and you're all done!&lt;/p&gt;&lt;p&gt;Clear as mud?  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/smile.gif'&gt; &lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Separate splash / index page? &lt;a href=&quot;http://www.silverstripe.org/archive/show/12435?start=0#post12512&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/12435?start=0#post12512&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Thu, 06 Dec 2007 20:00:39 +1300</pubDate>
			<dc:creator>DesignCity</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/12435?start=0#post12512</guid>
		</item>
		
		<item>
			<title>Separate splash / index page?</title>
			<link>http://www.silverstripe.org/archive/show/12435#post12435</link>
			<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Okay, a question for all you clever people out there  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/smile.gif'&gt; &lt;/p&gt;&lt;p&gt;What I'd like to achieve is having a &quot;splash / index&quot; page, manageable inside the CMS, that has a completely different layout to any sub-pages of the site. The sub-pages will be presented as usual.&lt;/p&gt;&lt;p&gt;At the moment, of course all pages are run through the global &quot;Page.ss&quot; template to get their containing layout. What I'd like to do is have a separate super template, eg. &quot;Splash.ss&quot; that is only used for the very first page of the site and does not touch &quot;Page.ss&quot; at all.&lt;/p&gt;&lt;p&gt;I figure that I need to create my own page type, eg. &quot;Splash page&quot; and assign it to the &quot;Home&quot; item, but I'm not sure how to tell Silverstripe how to use a special global template instead of passing it to the general &quot;Page.ss&quot; one.&lt;/p&gt;&lt;p&gt;Any ideas? Thanks in advance  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/smile.gif'&gt; &lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Separate splash / index page? &lt;a href=&quot;http://www.silverstripe.org/archive/show/12435#post12435&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/12435#post12435&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Thu, 06 Dec 2007 13:18:21 +1300</pubDate>
			<dc:creator>darkowl</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/12435#post12435</guid>
		</item>
		

	</channel>
</rss>