ASPX templates
Version 5.x > ASPX templates > CMSListMenu Path Specification View modes: 
User avatar
Member
Member
david.thornton-pop - 9/8/2011 1:27:18 PM
   
CMSListMenu Path Specification
I'm trying to use the CMSListMenu to get a subset of Linked Documents, but am having troubles with the Path property.

Here's my structure:

Root
-Home
-About
-shared (This is a folder)
--Nav (This is a folder)
---LinkedPage1
---LinkedPage2
---LinkedPage3

I'm trying to create a list menu of all of the linked documents in /shared/Nav but it's not working. Here's what I tried, which would have thought to work, but doesn't:

Path="/shared/Nav/%"

The following Path specification does work, but it will also get other linked pages not just in the "Nav" folder

Path="/shared/%"

Any suggestions on how to get a CMSListMenu with Linked Documents only in the /shared/Nav/ folder?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 9/9/2011 6:52:47 AM
   
RE:CMSListMenu Path Specification
Hi,

the path "/shared/Nav/%" should work. Could you please check if alias path of Nav document is really "/shared/nav" in Properties of document - General tab? Would it be possible to grant us with an access to your site? Please send it to support@kentico.com with reference to this thread.

Thank you.

Best regards,
Ivana Tomanickova

User avatar
Member
Member
david.thornton-pop - 9/9/2011 9:37:20 AM
   
RE:CMSListMenu Path Specification
I checked the Alias Path and for some reason it was something different. After setting it back to "Nav", it works as expected. Thanks for the help!