Design and CSS styles
Version 6.x > Design and CSS styles > Split Sitemap Into 2 columns View modes: 
User avatar
Member
Member
shelley.ford-celero - 7/30/2012 1:20:30 AM
   
Split Sitemap Into 2 columns
Hi, I'm using the sitemap web part and was wondering if there was a way to split it into two columns. It's really long as is. Let me know. Thanks!

User avatar
Kentico Support
Kentico Support
kentico_janh - 7/30/2012 2:25:04 AM
   
RE:Split Sitemap Into 2 columns
Hello,

You can use two sitemap web parts (one of each column) and specify its WHERE condition property to split your content in two. Let's say your document tree has 20 documents on a first level of the document hierarchy so the where conditions would look like this:

Site map 1:
WHERE condition: (NodeOrder < 11 AND NodeLevel < 2) OR (NodeLevel > 1)


Site map 2:
WHERE condition: (NodeOrder > 10 AND NodeLevel < 2) OR (NodeLevel > 1)


Best regards,
Jan Hermann

User avatar
Member
Member
shelley.ford-celero - 7/30/2012 9:34:00 AM
   
RE:Split Sitemap Into 2 columns
This worked. Thanks for all your help! Much appreciated!