Sitemap for Developers (v1.x)
The following information will help you enhance sitemap functionality in Better CMS.
How to Add Additional Data to Sitemap Node
Let's say you are implementing some gorgeous MegaMenu for your awesome website and you need some additional date to be added to sitemap node. For example: some CSS class for a different menu item styling.
In the CMS configuration file
<cms ... enableMacros="true"> ... </cms>
During sitemap node editing (in "Site Settings"), the new field will appear. Here it is possible to input specific data you need for a specific functionality. Every thing you add will be instantly available via API methods (Sitemap API
Later, if you do not want to show this field in the sitemap, just disable it in the configuration file (this configuration option affects only macro field visibility in "Site Settings" sitemap editing).