Menus for Developers
The following information will help you enhance menus functionality in Better CMS.
How to Add Additional Data to Menu Node
Let's say you are implementing some gorgeous MegaMenu for your awesome website and you need some additional date to be added to menu node. For example: some CSS class for a different menu item styling.
In the CMS configuration file
<cms ... enableMacros="true"> ... </cms>
During menu 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 (Menu API
Later, if you do not want to show this field in the menu, just disable it in the configuration file (this configuration option affects only macro field visibility in "Site Settings" menu editing).