开发者

Kentico CMSListMenu not displaying enough levels of the tree?

I have a kentico CMSListMenu which contains 4 levels at it deepest, i want to display the menu as a nested list down the left hand side of my content, this works fine for 3 levels but i cant get the 4th level to display.

I have this working on another site using the exact same code so i must be missing 开发者_JAVA百科something, these are the menu expressions i have tried using:

<cc1:CMSListMenu ID="CMSTreeMenu1" runat="server" Path="/{0}/{1}/{2}/%" DisplayHighlightedItemAsLink="True" DisplayOnlySelectedPath="true" Indentation="0"  MaxRelativeLevel="5" /></cc1:cmslistmenu>

<cc1:CMSListMenu ID="CMSTreeMenu1" runat="server" Path="/Products---Solutions/%" DisplayHighlightedItemAsLink="True" DisplayOnlySelectedPath="true" Indentation="0"  MaxRelativeLevel="5" /></cc1:cmslistmenu>

do i need to set this somewhere else? perhaps somewhere inside of kentico to output so many levels down?

Any help would be greatly appreciated, this has been causing me problems for days


I believe that the CMS List Menu only displays cms.Page (Menu Item) documents by default. If you're trying to display other types of documents, make sure you set that in the menu properties.


Try setting DisplayOnlySelectedPath="false" to see if it displays everything as you expect it to under the menu.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜