Santa Clara University

Web Publishing

Using the Sitemap Builder utility

This utility gives you the ability to apply a hierarchical structure to links in a Commonspot linkbar element.

Creating a Site Map

The following steps describe how to copy your site's current navigation menu and use it to build a site map.

  1. Open a site template in author mode
  2. Click "save as element" in the element properties menu for the site's linkbar - save it to "my elements"
  3. Create a new page in the site (/[sitename]/sitemap.cfm.
  4. Click the "insert new element" in the center content well, and select the linkbar you'd saved to My Elements in step 2.
  5. Select "Site Map Builder" from the Custom Render Handler options for the copied linkbar.
  6. Use the left/right arrows for linkbar items to move them around in the sitemap hierarchy. Add/remove linkbar items by clicking the "edit" icon for this linkbar element (using regular Commonspot link management options).
  7. Copy the xmlFile=.... text displayed below the Site Map Builder.
Use the Site Map as your Navigation Menu
  1. Open the template in Author mode.
  2. Click the "insert element" link below the left column linkbar, and select the "Site Map" element from the Hypertext Link element gallery category.
  3. Add the xmlFile=[filename] custom parameter.
  4. To hide the original linkbar, select "Primary - Hidden" from the custom render handler list.
  5. This element does allow one custom script parameter: "submenus=visible". Setting this parameter will display all submenus on any page view, instead of only for pages within a selected subsection of the site.
Using the Site Map menu in a school or center home page
  1. Open your School's home page in Author mode.
  2. Apply the Level 1 rendering option.
  3. Click the "edit custom script" text above the page footer.
  4. Enter "/customcf/sitemap/sitemap_xml.cfm" in the "explicit module" field.
  5. Click the script parameters tab and enter the XML file parameter (ie. xmlFile=[your xml file]
Printer-friendly format