Looking at the manuals' it looks like there are 3 options for menu and submenu class settings, which I'm implementing in the parse file like this:
<MySource_SET name="settings.class.normal" value="menu-item" /> <MySource_SET name="settings.class.current" value="menu-item current" /> <MySource_SET name="settings.class.hierarchy" value="menu-item expanded" />
So far so good.
In the design of this site I'm doing right now they want a different styling for 'current' item if it has children in the menu. I'm kinda stuck on this, as I need to print out the name of the 'current' asset. It's like I need to back-trace and say if there's children of 'current' then do this, otherwise do that.
Ideally there would be another class setting available called 'has-subs' or something like that, but that's not an option.
Has anyone else had this issue, and how did you solve it?