<?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>Page comments</title>
		<link>http://www.ssbits.com/home/</link>
		<atom:link href="http://www.ssbits.com/home/" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_1278</link>
			<description>Useful in practice. Thanks. </description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_1278</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_1190</link>
			<description>Great tip!.... I'd do a test on this so that it only redirects if the current page has no content...something like this (not tested):

if(!$this-&gt;dbObject('Content')-&gt;hasValue()){
if($this-&gt;Children()-&gt;Count()){
        Director::redirect($this-&gt;Children()-&gt;First()-&gt;AbsoluteLink());
    }
}


}</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_1190</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_899</link>
			<description>If you have hidden children pages, and you want to forward to them you will need to use:
$this-&gt;AllChildren()-&gt;First()-&gt;AbsoluteLink()</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_899</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_898</link>
			<description>oh thank you very much for the code have been searching for a long time found it here finally&lt;a href=&quot;http://www.iphone5mobile.blogpost.com/&quot;&gt;iphone 5 specifications&lt;/a&gt; </description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_898</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_897</link>
			<description>oh thank you very much for the code have been searching for a long time found it here finally&lt;a href=&quot;http://www.ssbits.com/http//www.iphone5mobile.blogpost.com/&quot;&gt;iphone 5 spcifications&lt;/a&gt;</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_897</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_893</link>
			<description>Hi ekersten,

Thanks for this tip, i use a ChildRedirectorPage for this which also links directly to the firstchild when $Link is used in the temaplte system.
I placed it here, maybe more people will like it:

http://www.sspaste.com/paste/show/4e89bf54c5fa3

</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/snippets/2011/automatically-redirect-to-the-first-child-page-without-a-redirector-page/#PageComment_893</guid>
		</item>
		

	</channel>
</rss>