<?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/"
		>
<channel>
	<title>Comments on: Just a quick Kentico menu solution</title>
	<atom:link href="http://blog.damianbrady.com.au/2009/09/04/just-a-quick-kentico-menu-solution/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.damianbrady.com.au/2009/09/04/just-a-quick-kentico-menu-solution/</link>
	<description>ramblings of a late 20s IT nerd / volleyball junkie / semi-professional drinker</description>
	<lastBuildDate>Mon, 26 Apr 2010 01:56:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Kurt Farrar (MyDigitalMedia)</title>
		<link>http://blog.damianbrady.com.au/2009/09/04/just-a-quick-kentico-menu-solution/comment-page-1/#comment-13895</link>
		<dc:creator>Kurt Farrar (MyDigitalMedia)</dc:creator>
		<pubDate>Sat, 13 Feb 2010 19:52:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damianbrady.com.au/?p=118#comment-13895</guid>
		<description>Hi Damian, 

Not sure what the option is that Martin speaks about, but you may find the following page useful:
http://devnet.kentico.com/docs/devguide/index.html?appendix_b___path_expressions.htm

It&#039;s more specific to v5.0 onwards, but also works with (at least) v4.1. 

I found that you can set the path to ./% for just the current path though this won&#039;t help your situation, I think you&#039;ve done the best thing if you always need to display level 1 links, but then only level 2 (onwards I&#039;d imagine) for the current path. 

Hope this is a useful reference for future,

Regards, 

Kurt Farrar
MyDigitalMedia
Kentico Certified Partner</description>
		<content:encoded><![CDATA[<p>Hi Damian, </p>
<p>Not sure what the option is that Martin speaks about, but you may find the following page useful:<br />
<a href="http://devnet.kentico.com/docs/devguide/index.html?appendix_b___path_expressions.htm" rel="nofollow">http://devnet.kentico.com/docs/devguide/index.html?appendix_b___path_expressions.htm</a></p>
<p>It&#8217;s more specific to v5.0 onwards, but also works with (at least) v4.1. </p>
<p>I found that you can set the path to ./% for just the current path though this won&#8217;t help your situation, I think you&#8217;ve done the best thing if you always need to display level 1 links, but then only level 2 (onwards I&#8217;d imagine) for the current path. </p>
<p>Hope this is a useful reference for future,</p>
<p>Regards, </p>
<p>Kurt Farrar<br />
MyDigitalMedia<br />
Kentico Certified Partner</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damian Brady</title>
		<link>http://blog.damianbrady.com.au/2009/09/04/just-a-quick-kentico-menu-solution/comment-page-1/#comment-9920</link>
		<dc:creator>Damian Brady</dc:creator>
		<pubDate>Thu, 12 Nov 2009 01:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damianbrady.com.au/?p=118#comment-9920</guid>
		<description>Hi Michael,

Unfortunately I&#039;m not near a machine that I can test with, but from memory it&#039;s a checkbox in the settings of the actual menu control itself.  If you can&#039;t find it, I&#039;ll have a look next time I&#039;m able to.

Thanks,
Damian</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>Unfortunately I&#8217;m not near a machine that I can test with, but from memory it&#8217;s a checkbox in the settings of the actual menu control itself.  If you can&#8217;t find it, I&#8217;ll have a look next time I&#8217;m able to.</p>
<p>Thanks,<br />
Damian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.damianbrady.com.au/2009/09/04/just-a-quick-kentico-menu-solution/comment-page-1/#comment-9918</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 12 Nov 2009 00:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damianbrady.com.au/?p=118#comment-9918</guid>
		<description>Hi,
This sounds like exactly I need to do.

Could you please direct me towards the &#039;Display only selected path&#039; setting?
I can&#039;t seem to find it anywhere in the settings.

Kind regards
Micheal.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
This sounds like exactly I need to do.</p>
<p>Could you please direct me towards the &#8216;Display only selected path&#8217; setting?<br />
I can&#8217;t seem to find it anywhere in the settings.</p>
<p>Kind regards<br />
Micheal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damian Brady</title>
		<link>http://blog.damianbrady.com.au/2009/09/04/just-a-quick-kentico-menu-solution/comment-page-1/#comment-7687</link>
		<dc:creator>Damian Brady</dc:creator>
		<pubDate>Mon, 07 Sep 2009 09:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damianbrady.com.au/?p=118#comment-7687</guid>
		<description>Hi Martin,

Thanks for the comment - I&#039;m just starting on Kentico, so your reply will be very helpful!

I will have a look at the &quot;Display only selected path&quot; setting - it looks like it&#039;s actually closer to what I want to do.  I&#039;ll always want the root items to appear as well though, so that could be a problem.  Hopefully there&#039;s an easy way to combine the two.  The node level suggestion is a very good one.  At the very least, I&#039;ll switch that part of the query.

I know what you&#039;re saying about the number of menu items being quite large, but there are not too many pages on the site I&#039;m dealing with.  I can see how it would be a problem with a larger site though.  I guess that while it&#039;s fine with the site I&#039;m working with, it&#039;s not a very reusable solution.

I will definitely try your suggestions out, and thanks for the reply!

Damian</description>
		<content:encoded><![CDATA[<p>Hi Martin,</p>
<p>Thanks for the comment &#8211; I&#8217;m just starting on Kentico, so your reply will be very helpful!</p>
<p>I will have a look at the &#8220;Display only selected path&#8221; setting &#8211; it looks like it&#8217;s actually closer to what I want to do.  I&#8217;ll always want the root items to appear as well though, so that could be a problem.  Hopefully there&#8217;s an easy way to combine the two.  The node level suggestion is a very good one.  At the very least, I&#8217;ll switch that part of the query.</p>
<p>I know what you&#8217;re saying about the number of menu items being quite large, but there are not too many pages on the site I&#8217;m dealing with.  I can see how it would be a problem with a larger site though.  I guess that while it&#8217;s fine with the site I&#8217;m working with, it&#8217;s not a very reusable solution.</p>
<p>I will definitely try your suggestions out, and thanks for the reply!</p>
<p>Damian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Hejtmanek</title>
		<link>http://blog.damianbrady.com.au/2009/09/04/just-a-quick-kentico-menu-solution/comment-page-1/#comment-7684</link>
		<dc:creator>Martin Hejtmanek</dc:creator>
		<pubDate>Mon, 07 Sep 2009 08:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.damianbrady.com.au/?p=118#comment-7684</guid>
		<description>Hi Damian,

Interesting solution, thank you for posting this. However, it is not that common to use this behavior of the menu (display all child documents of all subdocuments at the same time), because the menu can get crowded and you won&#039;t save much space in the menu just by eliminating single level of it. Also, such where condition is very expensive for the SQL server to evaluate.

I would also recommend to change OR NOT NodeAliasPath LIKE ‘/%/%’ to OR NodeLevel &lt;= 1 (or appropriate level) which would be much faster if you really need this behavior.

In most cases, it is better to just use the settings &quot;Display only selected path&quot;, which is much more efficient and displays only child documents of the current document and the path to it which filters the menu to the items of current context and nothing around it.</description>
		<content:encoded><![CDATA[<p>Hi Damian,</p>
<p>Interesting solution, thank you for posting this. However, it is not that common to use this behavior of the menu (display all child documents of all subdocuments at the same time), because the menu can get crowded and you won&#8217;t save much space in the menu just by eliminating single level of it. Also, such where condition is very expensive for the SQL server to evaluate.</p>
<p>I would also recommend to change OR NOT NodeAliasPath LIKE ‘/%/%’ to OR NodeLevel &lt;= 1 (or appropriate level) which would be much faster if you really need this behavior.</p>
<p>In most cases, it is better to just use the settings &quot;Display only selected path&quot;, which is much more efficient and displays only child documents of the current document and the path to it which filters the menu to the items of current context and nothing around it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
