6.4 Sitemap
This snippet will enable you to create a structured sitemap for your website.
The sitemap will display the entire Tribiq CMS menu tree in the current visitor language.
To embed the sitemap in a template, use the following snippet. We recommend you save the file as “HTML-sitemap.tpl.php” and place it within your template family.
<?php
echo getMenuStructureList(0,0,"Main",DEFAULT_LANGUAGE,0,"",false, "",false);
?>
You can see how getMenuStructureList works by reading the function documentation. Typically you will want to display every point of navigation within your website, so using the snippet is probably enough.
See Appendix B if you wish to change the structure of your sitemap.
Top of Page