<?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 to change $Layout theme?</title>
			<link>http://www.silverstripe.org/archive/show/72190?start=8#post197050</link>
			<description>&lt;p&gt;Refer to tutorial 1&lt;/p&gt;&lt;p&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;/p&gt;&lt;p&gt;You probably not using $Layout in your main template?&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to change $Layout theme? &lt;a href=&quot;http://www.silverstripe.org/archive/show/72190?start=8#post197050&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/72190?start=8#post197050&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Fri, 10 Oct 2008 12:43:51 +1300</pubDate>
			<dc:creator>CodeGuerrilla </dc:creator>
			<guid>http://www.silverstripe.org/archive/show/72190?start=8#post197050</guid>
		</item>
		
		<item>
			<title>Re: How to change $Layout theme?</title>
			<link>http://www.silverstripe.org/archive/show/72190?start=0#post196687</link>
			<description>&lt;p&gt;Sorry, I try your solution but nothing change..How can I use my new template NewsArchive.ss instead of Page.ss? Is there a point in CMS administation where is ask me to change template?I create NewsArchive.ss template and put in tutorial/template/Layout with Page.ss is correct? or is necessary to put inside tutorial/template?&lt;/p&gt;&lt;p&gt;If I create new page type is more fast and easy?&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to change $Layout theme? &lt;a href=&quot;http://www.silverstripe.org/archive/show/72190?start=0#post196687&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/72190?start=0#post196687&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Thu, 09 Oct 2008 22:09:55 +1300</pubDate>
			<dc:creator>ojalà</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/72190?start=0#post196687</guid>
		</item>
		
		<item>
			<title>Re: How to change $Layout theme?</title>
			<link>http://www.silverstripe.org/archive/show/72190?start=0#post196447</link>
			<description>&lt;p&gt;No, I was calling it via another method of the controller:&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;function archive()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return self::renderWith(array(&quot;NewsArchive&quot;, &quot;Page&quot;));&lt;br /&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Basically will use the NewsArchive.ss layout file but will still use the main Page.ss template works well, with the exception of the Breadcrumbs  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/smile.gif'&gt; &lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to change $Layout theme? &lt;a href=&quot;http://www.silverstripe.org/archive/show/72190?start=0#post196447&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/72190?start=0#post196447&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Thu, 09 Oct 2008 12:29:20 +1300</pubDate>
			<dc:creator>CodeGuerrilla </dc:creator>
			<guid>http://www.silverstripe.org/archive/show/72190?start=0#post196447</guid>
		</item>
		
		<item>
			<title>Re: How to change $Layout theme?</title>
			<link>http://www.silverstripe.org/archive/show/72190?start=0#post196352</link>
			<description>&lt;p&gt;Sorry, I wasn't clear.&lt;/p&gt;&lt;p&gt;That's a ticket for the functionality to be added. It means that someone came up with the idea, and we just added it to the tickets for someone to create the functionality at a later date.&lt;/p&gt;&lt;p&gt;Until then, you can just use the method that CodeGuerrilla has shown.&lt;/p&gt;&lt;p&gt;CodeGuerrilla, did you put your renderWith() method inside the Page_Controller init() method?&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to change $Layout theme? &lt;a href=&quot;http://www.silverstripe.org/archive/show/72190?start=0#post196352&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/72190?start=0#post196352&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Thu, 09 Oct 2008 08:39:52 +1300</pubDate>
			<dc:creator>Sean</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/72190?start=0#post196352</guid>
		</item>
		
		<item>
			<title>Re: How to change $Layout theme?</title>
			<link>http://www.silverstripe.org/archive/show/72190?start=0#post196227</link>
			<description>&lt;p&gt;HI! &lt;br /&gt;I have the same problem, I don't know where is the file to modify $controller::renderWith(array(&quot;LayoutTemplate&quot;, &quot;PageTemplate&quot;));&lt;/p&gt;&lt;p&gt;I have an othe question: if I use ticket &lt;a href=&quot;http://open.silverstripe.com/ticket/2791&quot;&gt;http://open.silverstripe.com/ticket/2791&lt;/a&gt; how cai I use this? I read guide but I don't understand if is possible to download thicket..&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to change $Layout theme? &lt;a href=&quot;http://www.silverstripe.org/archive/show/72190?start=0#post196227&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/72190?start=0#post196227&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Thu, 09 Oct 2008 02:10:42 +1300</pubDate>
			<dc:creator>ojalà</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/72190?start=0#post196227</guid>
		</item>
		
		<item>
			<title>Re: How to change $Layout theme?</title>
			<link>http://www.silverstripe.org/archive/show/72190?start=0#post196102</link>
			<description>&lt;p&gt;Yes exactly. That sounds good Typo3 has a similar thing and sub pages will inherit their parents temple which is also useful.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to change $Layout theme? &lt;a href=&quot;http://www.silverstripe.org/archive/show/72190?start=0#post196102&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/72190?start=0#post196102&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 08 Oct 2008 20:20:11 +1300</pubDate>
			<dc:creator>CodeGuerrilla </dc:creator>
			<guid>http://www.silverstripe.org/archive/show/72190?start=0#post196102</guid>
		</item>
		
		<item>
			<title>Re: How to change $Layout theme?</title>
			<link>http://www.silverstripe.org/archive/show/72190?start=0#post196096</link>
			<description>&lt;p&gt;So you'd want change the Layout template, without creating a new page type?&lt;/p&gt;&lt;p&gt;It makes sense. We also have a ticket in our open source tracker to allow choosing of a layout template from the CMS. So, you could create templates like Page_twocols, Page_threecols, Page_wide, Page_narrow, Page_alternative or anything you'd like, and you can choose any of those templates using a dropdown on each page, which defaults to just &quot;Page&quot;, of course.&lt;/p&gt;&lt;p&gt;Here's the ticket if you want to see: &lt;a href=&quot;http://open.silverstripe.com/ticket/2791&quot;&gt;http://open.silverstripe.com/ticket/2791&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Sean&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to change $Layout theme? &lt;a href=&quot;http://www.silverstripe.org/archive/show/72190?start=0#post196096&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/72190?start=0#post196096&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 08 Oct 2008 20:01:26 +1300</pubDate>
			<dc:creator>Sean</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/72190?start=0#post196096</guid>
		</item>
		
		<item>
			<title>Re: How to change $Layout theme?</title>
			<link>http://www.silverstripe.org/archive/show/72190?start=0#post196037</link>
			<description>&lt;p&gt;Okay figured it out $controller::renderWith(array(&quot;LayoutTemplate&quot;, &quot;PageTemplate&quot;));&lt;/p&gt;&lt;p&gt;Basically by passing the Layout template then the Page template it will render in the correct order.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to change $Layout theme? &lt;a href=&quot;http://www.silverstripe.org/archive/show/72190?start=0#post196037&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/72190?start=0#post196037&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 08 Oct 2008 18:08:42 +1300</pubDate>
			<dc:creator>CodeGuerrilla </dc:creator>
			<guid>http://www.silverstripe.org/archive/show/72190?start=0#post196037</guid>
		</item>
		
		<item>
			<title>Re: How to change $Layout theme?</title>
			<link>http://www.silverstripe.org/archive/show/72190?start=0#post196029</link>
			<description>&lt;p&gt;I also have a similar question I would like to swap the layout from the controller as I understand $controller::renderWith(&quot;TemplateName&quot;); will swap the whole template, I would like to know if there is a way to keep the current template and only swap the $layout portion from the controller?&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to change $Layout theme? &lt;a href=&quot;http://www.silverstripe.org/archive/show/72190?start=0#post196029&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/72190?start=0#post196029&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 08 Oct 2008 17:16:11 +1300</pubDate>
			<dc:creator>CodeGuerrilla </dc:creator>
			<guid>http://www.silverstripe.org/archive/show/72190?start=0#post196029</guid>
		</item>
		
		<item>
			<title>How to change $Layout theme?</title>
			<link>http://www.silverstripe.org/archive/show/72190#post72190</link>
			<description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;i thinking how to change $Layout theme from page controller, now $Layout depends on page type and associated template with it(in Layout dir), but lets say i have two Page type pages and want that the $Layout would be rendered with different themes. How can I do that? Is it possible?&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How to change $Layout theme? &lt;a href=&quot;http://www.silverstripe.org/archive/show/72190#post72190&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/72190#post72190&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Thu, 15 May 2008 18:15:30 +1200</pubDate>
			<dc:creator>pIscIs</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/72190#post72190</guid>
		</item>
		

	</channel>
</rss>