<?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 do I get the page type from the templatesystem?</title>
			<link>http://www.silverstripe.org/archive/show/76963?start=0#post77100</link>
			<description>&lt;p&gt;Use the tag &quot;ClassName&quot;&lt;/p&gt;&lt;p&gt;Ie, if you put $ClassName in your template you'll see the page type.&lt;/p&gt;&lt;p&gt;Or, to display the menu conditionally:&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&amp;lt;% if ClassName != BlogHolder %&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!-- your menu here --&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;% end_if %&amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How do I get the page type from the templatesystem? &lt;a href=&quot;http://www.silverstripe.org/archive/show/76963?start=0#post77100&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/76963?start=0#post77100&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Fri, 23 May 2008 15:10:56 +1200</pubDate>
			<dc:creator>Hamish</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/76963?start=0#post77100</guid>
		</item>
		
		<item>
			<title>How do I get the page type from the templatesystem?</title>
			<link>http://www.silverstripe.org/archive/show/76963#post76963</link>
			<description>&lt;p&gt;On my site I have a menu which is similar to a tree, which expands the nodes down to one level deeper than the current page. This is working fine, however, I don't want to show the children of a BlogHolder. Is this possible using only templating or do I have to subclass and override BlogHolder::Children (I'm using children for the menu)?&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: How do I get the page type from the templatesystem? &lt;a href=&quot;http://www.silverstripe.org/archive/show/76963#post76963&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/76963#post76963&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Fri, 23 May 2008 06:03:23 +1200</pubDate>
			<dc:creator>saimo</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/76963#post76963</guid>
		</item>
		

	</channel>
</rss>