Level Sitemap (XSLT)
Created by Orckestra
Show technical informationHow to add a Level Sitemap to your website
How to add a Level Sitemap to your website
- On the Content tab of a page, the Markup Code tab of a template or the Template tab of an XSLT function, insert the Composite.Navigation.LevelSitemap function ( Insert > Function), or add the following code:
Expand code - If necessary, specify its optional parameters:
- Starting Level: The level to start the navigation menu from ("1" by default).
- Subpages Depth: The depth of subpages to display in the menu ("2" by default).
- Include Parent Page: If this option is selected, the parent page will be displayed in the menu ("False" (No) by default).
- Navigation Id: The value of the "id" attribute of the <div> element used with the menu ("LevelSitemap" by default). For example, if NavigationId is set to "LevelSitemap", it will look like
<div id="LevelSitemap"><ul>…</ul></div>
in the source code.
Customization
You can customize the menu's layout by editing its style sheets:
~/Frontend/Composite/Navigation/LevelSitemap/Styles.css