<?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: Using a different template for the home page</title>
			<link>http://www.silverstripe.org/archive/show/70449?start=8#post76404</link>
			<description>&lt;p&gt;DesignCity - Got it and use it regularly, but it wasn't working in this case for me. FYI: I prefer IE7 unlike everyone else at my work place that use FF and still have IE6 installed. I am also a designer and not a true programmer.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Using a different template for the home page &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449?start=8#post76404&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/70449?start=8#post76404&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Thu, 22 May 2008 02:42:25 +1200</pubDate>
			<dc:creator>Slurpdog</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/70449?start=8#post76404</guid>
		</item>
		
		<item>
			<title>Re: Using a different template for the home page</title>
			<link>http://www.silverstripe.org/archive/show/70449?start=8#post76253</link>
			<description>&lt;p&gt;Slurpdog - The web developers toolbar has a very handy and accessable 'clear cache' button which should be helpful!  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/smile.gif'&gt; &lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Using a different template for the home page &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449?start=8#post76253&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/70449?start=8#post76253&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 21 May 2008 13:56:43 +1200</pubDate>
			<dc:creator>DesignCity</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/70449?start=8#post76253</guid>
		</item>
		
		<item>
			<title>Re: Using a different template for the home page</title>
			<link>http://www.silverstripe.org/archive/show/70449?start=0#post76073</link>
			<description>&lt;p&gt;I was having the same problem and it turned out to be a problem with IE7. I had run the flush several times with no success so I tried it in FireFox and it worked the first time. Not sure if IE7 is unable to do the flush or if it was some caching issue, but you might want to try a different browser even if youâ€™re not using IE7.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Using a different template for the home page &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449?start=0#post76073&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/70449?start=0#post76073&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 21 May 2008 03:05:35 +1200</pubDate>
			<dc:creator>Slurpdog</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/70449?start=0#post76073</guid>
		</item>
		
		<item>
			<title>Re: Using a different template for the home page</title>
			<link>http://www.silverstripe.org/archive/show/70449?start=0#post71170</link>
			<description>&lt;p&gt;bcm75204 - check the tutorials more carefully (&lt;em&gt;&lt;a href=&quot;http://doc.silverstripe.com/doku.php?id=tutorial:1-building-a-basic-site#using_a_different_template_for_the_home_page&quot;&gt;http://doc.silverstripe.com/doku.php?id=tutorial:1-building-a-basic-site#using_a_different_template_for_the_home_page&lt;/a&gt;&lt;/em&gt;) - If you follow them it will show you how to add pagetypes to the CMS. How you then style them depends on the template that is used for the site.&lt;/p&gt;&lt;p&gt;Given I don't know much of your setup, here's how I think you would add a home page:&lt;/p&gt;&lt;p&gt;1. Add HomePage.php to &lt;em&gt;/mysite/code/&lt;/em&gt; (with the same code as listed under &lt;em&gt;&lt;a href=&quot;http://doc.silverstripe.com/doku.php?id=tutorial:1-building-a-basic-site#creating_a_new_page_type&quot;&gt;http://doc.silverstripe.com/doku.php?id=tutorial:1-building-a-basic-site#creating_a_new_page_type&lt;/a&gt;&lt;/em&gt;)&lt;/p&gt;&lt;p&gt;2. If you want the home page to be COMPLETELY different, add a template file called &lt;em&gt;HomePage.ss&lt;/em&gt; to &lt;em&gt;/themes/blackcandy/templates/&lt;/em&gt;. You can copy and paste the data from &lt;em&gt;Page.ss&lt;/em&gt; into it and make any changes you want. If you want to edit the CSS of the design, you can either include a new stylesheet into the page or just make additions to BlackCandy's (found in &lt;em&gt;/themes/blackcandy/css/&lt;/em&gt;).&lt;/p&gt;&lt;p&gt;3. This point in the tutorial is key - &quot;Every page type also has a database table corresponding to it. Every time we modify the database, we need to rebuild it. We can do this by going to http://localhost:3000/db/build?flush=1.&quot; &lt;strong&gt;You need to flush the &lt;span style=&quot;text-decoration:underline;&quot;&gt;database&lt;/span&gt; by visiting &lt;em&gt;/db/build&lt;/em&gt; and then refresh the CMS (F5) or the new pagetype will not be available.&lt;/strong&gt;&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Using a different template for the home page &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449?start=0#post71170&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/70449?start=0#post71170&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 14 May 2008 14:25:12 +1200</pubDate>
			<dc:creator>DesignCity</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/70449?start=0#post71170</guid>
		</item>
		
		<item>
			<title>Re: Using a different template for the home page</title>
			<link>http://www.silverstripe.org/archive/show/70449?start=0#post71126</link>
			<description>&lt;p&gt;Somebody correct me if I am wrong, but if you create a file called WhateverPage.php in mysite/code then db/build/?flush=1 (do it in the CMS), then 'Create a WhateverPage' has to appear in the drop down for create page type. If not, something is very wrong. It seems to be it is practically the premise for the whole system. What options appear in your dropdown?&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Using a different template for the home page &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449?start=0#post71126&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/70449?start=0#post71126&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 14 May 2008 10:39:22 +1200</pubDate>
			<dc:creator>quicked</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/70449?start=0#post71126</guid>
		</item>
		
		<item>
			<title>Re: Using a different template for the home page</title>
			<link>http://www.silverstripe.org/archive/show/70449?start=0#post71111</link>
			<description>&lt;p&gt;It still doesn't work.  The option to create a home page does not appear in the dropdown option in the CMS.  Anybody out there know how to use this?&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Using a different template for the home page &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449?start=0#post71111&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/70449?start=0#post71111&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 14 May 2008 09:45:44 +1200</pubDate>
			<dc:creator>bcm75204</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/70449?start=0#post71111</guid>
		</item>
		
		<item>
			<title>Re: Using a different template for the home page</title>
			<link>http://www.silverstripe.org/archive/show/70449?start=0#post70634</link>
			<description>&lt;p&gt;If your HomePage is completely different put the template directly under templates/&lt;br /&gt;If it is based on Page.ss then put it under templates/Layouts.&lt;br /&gt;You will need a file called HomePage.php in mysite/code and you will need to select that page type in the CMS.&lt;br /&gt;To refresh hold down ctrl and add ?flush=1 to the URL.  Sometimes i have had to change browsers to see a change reflected.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Using a different template for the home page &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449?start=0#post70634&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/70449?start=0#post70634&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 13 May 2008 13:06:32 +1200</pubDate>
			<dc:creator>quicked</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/70449?start=0#post70634</guid>
		</item>
		
		<item>
			<title>Re: Using a different template for the home page</title>
			<link>http://www.silverstripe.org/archive/show/70449?start=0#post70557</link>
			<description>&lt;p&gt;Can somebody tell me which folder HomePage.ss goes into?&lt;/p&gt;&lt;p&gt;Is it /public_html/themes/blackcandy/templates/?&lt;/p&gt;&lt;p&gt;or /public_html/themes/blackcandy/templates/Layout/&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Using a different template for the home page &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449?start=0#post70557&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/70449?start=0#post70557&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 13 May 2008 09:35:10 +1200</pubDate>
			<dc:creator>bcm75204</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/70449?start=0#post70557</guid>
		</item>
		
		<item>
			<title>Re: Using a different template for the home page</title>
			<link>http://www.silverstripe.org/archive/show/70449?start=0#post70500</link>
			<description>&lt;p&gt;The option to change it does not appear in the dropdown in the cms.  Anybody else having this problem? &lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Using a different template for the home page &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449?start=0#post70500&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/70449?start=0#post70500&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 13 May 2008 07:58:52 +1200</pubDate>
			<dc:creator>bcm75204</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/70449?start=0#post70500</guid>
		</item>
		
		<item>
			<title>Re: Using a different template for the home page</title>
			<link>http://www.silverstripe.org/archive/show/70449?start=0#post70474</link>
			<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;One thing you could check is did you also change the page type for the home page in the cms?&lt;/p&gt;&lt;p&gt;If you followed the tutorial exactly then it should work.&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Trevor&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Using a different template for the home page &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449?start=0#post70474&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/70449?start=0#post70474&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 13 May 2008 06:47:34 +1200</pubDate>
			<dc:creator>trevor</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/70449?start=0#post70474</guid>
		</item>
		
		<item>
			<title>Using a different template for the home page</title>
			<link>http://www.silverstripe.org/archive/show/70449#post70449</link>
			<description>&lt;p&gt;I went through the &quot;Using a different template for the home page&quot; section of the tutorial several times and I cannot get this to work.  I want my home page to have a different layout than the rest of the site.  I did multiple flushes and nothing changed.  Any suggestions?&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Using a different template for the home page &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449#post70449&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/70449#post70449&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 13 May 2008 05:53:05 +1200</pubDate>
			<dc:creator>bcm75204</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/70449#post70449</guid>
		</item>
		

	</channel>
</rss>