Hi,
I have amended VerticalMenu SimpleTokens.txt file to look like a bootstrap based vertical menu (would like to attach a screenshot here but ImageManager doesn't allow me).
I would like the menu to automatically expand when a child page is selected. Current behavior is that it is always collapsed. Please advise how can I achieve this. My code for SimpleTokens.txt file is as below.
Many Thanks
Arif Shah
<ul class="sidebar-menu">
[*>NODE-TOP]
</ul>
[>NODE-TOP]
<li class="[?NODE]treeview[/?][?SELECTED]active[/?]">
[?ENABLED]
<a href="[=URL]" [?TARGET]target="[=TARGET]"[/?] [?NODE] [/?]><img src="[=ICON]" alt="" width="24" height="24"/> <span>[=TEXT]</span> [?NODE]<i class="fa fa-angle-left pull-right"></i>[/?]</a>
[?ELSE]
<a href="#" [?NODE] [/?]>[=TEXT] [?NODE][/?]</a>
[/?]
[?NODE]
<ul class="treeview-menu">
[*>NODE]
</ul>
[/?]
</li>
[/>]
[>NODE]
<li class="[?SELECTED]active[/?]">
[?ENABLED]
<a href="[=URL]" [?TARGET]target="[=TARGET]"[/?] [?NODE] [/?]><i class="fa fa-circle-o"></i><span>[=TEXT]</span></a>
[?ELSE]
[=TEXT]
[/?]
[?NODE]
<ul class="menu-open">
[*>NODE]
</ul>
[/?]
</li>
[/>]