<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Avoiding Layout not Found with bump folders &#8211; Sitecore best practice</title>
	<atom:link href="http://blog.capaxsolutions.co.uk/2009/09/25/avoiding-layout-not-found-with-bump-folders-sitecore-best-practice/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.capaxsolutions.co.uk/2009/09/25/avoiding-layout-not-found-with-bump-folders-sitecore-best-practice/</link>
	<description>C# Flavoured ASP.Net Web Development using Sitecore CMS</description>
	<lastBuildDate>Tue, 13 Dec 2011 20:53:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: anonymous</title>
		<link>http://blog.capaxsolutions.co.uk/2009/09/25/avoiding-layout-not-found-with-bump-folders-sitecore-best-practice/#comment-337</link>
		<dc:creator><![CDATA[anonymous]]></dc:creator>
		<pubDate>Thu, 12 May 2011 21:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.capaxsolutions.co.uk/?p=60#comment-337</guid>
		<description><![CDATA[There is one more reason for this error to occur. 
I had the same error and I later found that the user extranet didn&#039;t have any permissions to access the home node. 
As soon as that was changed, I could preview any item in sitecore.]]></description>
		<content:encoded><![CDATA[<p>There is one more reason for this error to occur.<br />
I had the same error and I later found that the user extranet didn&#8217;t have any permissions to access the home node.<br />
As soon as that was changed, I could preview any item in sitecore.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Green</title>
		<link>http://blog.capaxsolutions.co.uk/2009/09/25/avoiding-layout-not-found-with-bump-folders-sitecore-best-practice/#comment-14</link>
		<dc:creator><![CDATA[Steve Green]]></dc:creator>
		<pubDate>Sun, 27 Sep 2009 19:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.capaxsolutions.co.uk/?p=60#comment-14</guid>
		<description><![CDATA[Hi Thomas,

Agree on all counts, these bump folders don&#039;t preclude any of what you said however. I&#039;d agree that seeing them used as the /home/articles folder would be the mark of a lazy developer and a missed opportunity for an articles root page but they&#039;re really more for the content editors to organise their content as they please without having to resort to large flat lists of items. 

The initial container items created by the developer should as you said be unique templates configured for their purpose in mind. You could however also have multiple variants of the bump folder (articles, offices, etc) each with its own set of insert options etc.

Also top tip on reconfiguring the &quot;Layout not found&quot; pages, typically I would do a recursive test of every item using WatiN to check for missing presentation, xslt errors and any other problems and leave the 404 errors purely to missing items.]]></description>
		<content:encoded><![CDATA[<p>Hi Thomas,</p>
<p>Agree on all counts, these bump folders don&#8217;t preclude any of what you said however. I&#8217;d agree that seeing them used as the /home/articles folder would be the mark of a lazy developer and a missed opportunity for an articles root page but they&#8217;re really more for the content editors to organise their content as they please without having to resort to large flat lists of items. </p>
<p>The initial container items created by the developer should as you said be unique templates configured for their purpose in mind. You could however also have multiple variants of the bump folder (articles, offices, etc) each with its own set of insert options etc.</p>
<p>Also top tip on reconfiguring the &#8220;Layout not found&#8221; pages, typically I would do a recursive test of every item using WatiN to check for missing presentation, xslt errors and any other problems and leave the 404 errors purely to missing items.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Green</title>
		<link>http://blog.capaxsolutions.co.uk/2009/09/25/avoiding-layout-not-found-with-bump-folders-sitecore-best-practice/#comment-13</link>
		<dc:creator><![CDATA[Steve Green]]></dc:creator>
		<pubDate>Sun, 27 Sep 2009 19:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.capaxsolutions.co.uk/?p=60#comment-13</guid>
		<description><![CDATA[Hi Raúl,

Doh, forgot to add that I&#039;m using a set of extension methods alongside my solution, all my sitecore projects now come with:

        public static string GetFriendlyUrl(this Item item)
        {
            return LinkManager.GetItemUrl(item,UrlOptions.DefaultOptions);
        }]]></description>
		<content:encoded><![CDATA[<p>Hi Raúl,</p>
<p>Doh, forgot to add that I&#8217;m using a set of extension methods alongside my solution, all my sitecore projects now come with:</p>
<p>        public static string GetFriendlyUrl(this Item item)<br />
        {<br />
            return LinkManager.GetItemUrl(item,UrlOptions.DefaultOptions);<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raúl</title>
		<link>http://blog.capaxsolutions.co.uk/2009/09/25/avoiding-layout-not-found-with-bump-folders-sitecore-best-practice/#comment-11</link>
		<dc:creator><![CDATA[Raúl]]></dc:creator>
		<pubDate>Sat, 26 Sep 2009 13:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.capaxsolutions.co.uk/?p=60#comment-11</guid>
		<description><![CDATA[Good post Steve. One tiny comment, in v.6 the recommended way of getting a URL is Sitecore.Links.LinkManager.GetItemUrl([Item])
Keep it up.]]></description>
		<content:encoded><![CDATA[<p>Good post Steve. One tiny comment, in v.6 the recommended way of getting a URL is Sitecore.Links.LinkManager.GetItemUrl([Item])<br />
Keep it up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Eldblom</title>
		<link>http://blog.capaxsolutions.co.uk/2009/09/25/avoiding-layout-not-found-with-bump-folders-sitecore-best-practice/#comment-10</link>
		<dc:creator><![CDATA[Thomas Eldblom]]></dc:creator>
		<pubDate>Sat, 26 Sep 2009 11:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.capaxsolutions.co.uk/?p=60#comment-10</guid>
		<description><![CDATA[I&#039;m not sure I follow you on this &quot;Best Practise&quot;.

First of all, the &quot;Folder&quot; template (or similar all-purpose templates) should never be used - its a dead sure sign of lazy developer practise. If you need a container item, create a specific one for the purpose. This saves you from other future bad practises like putting insert options or layout directly on content items. A specific folder can therefore have specific functionality relating to the context (move to parent/first child/frontpage/whatever). 
Secondly, the &quot;Layout not found&quot; page can be overridden in the config file, which then can handle all the unexpected errors appropriately, ie. by returning a 404 to the end user (use OMS to track the unexpected visits to pages without layout).]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure I follow you on this &#8220;Best Practise&#8221;.</p>
<p>First of all, the &#8220;Folder&#8221; template (or similar all-purpose templates) should never be used &#8211; its a dead sure sign of lazy developer practise. If you need a container item, create a specific one for the purpose. This saves you from other future bad practises like putting insert options or layout directly on content items. A specific folder can therefore have specific functionality relating to the context (move to parent/first child/frontpage/whatever).<br />
Secondly, the &#8220;Layout not found&#8221; page can be overridden in the config file, which then can handle all the unexpected errors appropriately, ie. by returning a 404 to the end user (use OMS to track the unexpected visits to pages without layout).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

