Sitemap columns

Celero Solutions asked on May 20, 2014 15:02

Hi, I'm working on a site where the sitemap needs to be at the bottom of the pages. It will contain the top level (parent) item and then the 1st level items (child) underneath.

The third party designer I am working for has designed as follows: Image Text The HTML looks like this:

<div class="col-sm-8 col-md-5">
              <li><a href=""><h4>News</h4></a></li>
              <li><a href="">News & Announcements</a></li>
              <li><a href="">Central Connect Newsletter</a></li>
              <li><a href="">Quarterly Staff Meetings</a></li>
              <li><a href="">Memos</a></li>
              <li><a href="">Organizational Changes</a></li>
              <li><a href="">Events Calendar</a></li>
        <div class="col-sm-8 col-md-5">
              <li><a href=""><h4>Facility Information</a></h4></li>
              <li><a href="">Catering Options</a></li>
              <li><a href="">Maps</a></li>
              <li><a href="">Meeting Rooms</a></li>
              <!--<li><a href="">About Heritage Square</a></li>-->
              <li><a href="">About The Square</a></li>
              <li><a href=""><h4>Social</a></h4></li>
              <li><a href="">Blog</a></li>
              <li><a href="">Message Board</a></li>
              <li><a href="">Photo Gallery</a></li>
              <li><a href="">Classifieds</a></li>
              <li><a href="">Staff Directory</a></li>

My first thought was to use a hierarchial viewer but note how Facility Information is "stacked" on top of the Social section in the third column? And again the sections are stacked in the last column? Is there anyway of creating this so that it's dynamic?

I was originally thinking of having several viewers or sitemap webparts or repeaters in place and selecting the document path to be /News/%. However, I would need to include "News" as the "header" and am not sure how to grab the parent node in the transformation. So essentially I would have five of whatever web parts are being used to display. But I am unsure if this is the right way to go about this.

Recent Answers

Brenden Kehren answered on May 20, 2014 21:31 (last edited on May 20, 2014 21:31)

Instead of attempting to get all columns with one viewer, create the layout with your div and place a webpart zone in it. Then add a repeater to the zone and set the path to be /News/%. Do the same for the other areas and just have several zones and webparts. Still dynamic, but a little easier to manage.

0 votesVote for this answer Mark as a Correct answer

Celero Solutions answered on May 21, 2014 10:54


Just so I'm clear on what you're saying, you are suggesting to have 7 zones each with it's own repeater? So zone 1 would contain a repeater with the News section; zone 2 would contain a repeater with the Employees resources section... Question though..if I set the path to /News/% wouldn't it display only the child nodes and not the parent node, "News"? The parent node for the sections would need need to be dynamic in such that if they decided to change "news" to "news and updates" in the content tree it would have to be updated automagically in the footer nave (i.e. sitemap).

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 22, 2014 07:55

I typically set that in the content before property of the repeater as most folks don't change their top navigation very often if at all.

A workaround would be to then have 2 repeaters in each of the 7 columns. The first one would have a path of /{0} and that would always capture your top level (news, facility information, etc.) pages. The second repeater would be as I mentioned before.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.