This Macro is just like a FlexMenu, but with unordered lists. I like unordered lists for hierarchical menus- they self-indent and format, and the alternating bullets help articulate hierarchies intuitively.
Install this like any custom macro- add the line:
ULFlexMenu => ULFlexMenu, \
to your WebGUI.conf file, and put the attached .pm in your "lib/WebGUI/Macro" directory.
To format, add something like:
ul.verticalMenu{
padding-left: 15px;
margin-left: 0px;
width: 100px;
}
to your style sheet, along with whatever other style goodness you like.
This works with WebGUI 5.4.4, and will probably be obviated when the 6.x development track has templates extended outwards to the default Macros.