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.
- Open a site template in author mode
- Click "save as element" in the element properties menu for the site's linkbar - save it to "my elements"
- Create a new page in the site (/[sitename]/sitemap.cfm.
- Click the "insert new element" in the center content well, and select the linkbar you'd saved to My Elements in step 2.
- Select "Site Map Builder" from the Custom Render Handler options for the copied linkbar.
- 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).
- Copy the xmlFile=.... text displayed below the Site Map Builder.
Use the Site Map as your Navigation Menu
- Open the template in Author mode.
- Click the "insert element" link below the left column linkbar, and select the "Site Map" element from the Hypertext Link element gallery category.
- Add the xmlFile=[filename] custom parameter.
- To hide the original linkbar, select "Primary - Hidden" from the custom render handler list.
- 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
- Open your School's home page in Author mode.
- Apply the Level 1 rendering option.
- Click the "edit custom script" text above the page footer.
- Enter "/customcf/sitemap/sitemap_xml.cfm" in the "explicit module" field.
- Click the script parameters tab and enter the XML file parameter (ie. xmlFile=[your xml file]