Easily create a user friendly sitemaps for your whole or parts of your website. Ideal for your users when they have created a page with several sub pages and want the parent page to show the available underlying pages.
Source code
Download Sitemap module v2.0
Examples
You can see the sitemap module in action on throughout this site.
- Complete sitemap
- Sitemap of underlying pages
- Another sitemap of underlying page.
Sitemap module functions
- It lets a user easily create a sitemap for the whole website.
- In a hierarchical website users often organise pages using subpages. They often do not include any information in the parent page, or fail to maintain the parent page properly. The sitemap module allows a user to quickly add a sitemap to such a parent page. The sitemap will be automatically updated with the information from the child pages.
Differences with Google Sitemaps
The sitemap generated with the Sitemap module is intended for visitors to your website and search engines.
Features
- Allows a sitemap to be create for any page in the website.
- Create a sitemap for a different section of the website (you can set the parent page to any site page).
- Set a maximum depth for the sitemap.
- User can select which page attributes to include.
- Allows for specification of separate stylesheet.
- Easy extend module with your own page attributes.
Installation
Copy files in 'sitemap' folder to the root of your SilverStripe installation. Sitemap will be added to automatically to the Page class.
Extending
This module is ready to be extended if you would like to add specific data to your sitemap entries templates.
Extend the Sitemap class and extend the prepareTemplateData() function with data specific to your requirements.
Requirements
SilverStripe minimum version 2.3.3 (May work with lower versions but not tested). Works with version 2.4.
History
- v1.0 - 2 February 2010
Initial release
- v2.0 - 17 June 2010
Changes: Updated to work with SilverStripe 2.4, tree function added to OptionalTreeDropdownField class.