#set($levelOnes = $group.getGroup('/products/').children)
$formatHelper.sortByAttribute($levelOnes, 'sort_order', false)
<div class="menu">
<h3>
<a class="nav"><strong>Products</strong></a>
</h3>
#foreach($levelOne in $levelOnes)
<h4>
<h4>
<a href="$baseUrl$levelOne.path"><strong>$escape.html($levelOne.title)</strong></a>
</h4>
#if($merchantLoggedIn)
<span id="deaplO_$velocityCount" style="width:92%;padding:2% 4% 10% 4%;float:left;display:none;">sort^>
sort^: $levelOne.getAttributeValueEditable("sort_order")
</span>
#end
#if($levelOne.children && $levelOne.getChildren().size() > 0 && $group.getRoot(3).path == $levelOne.path)
<ul>
#set($levelTwos = $levelOne.children)
$formatHelper.sortByAttribute($levelTwos, 'sort_order', false)
#foreach($levelTwo in $levelTwos)
<li>
<a#if<a #if($levelOne.path != $group.path) rel="nofollow" #end#if #end
#if($levelTwo.path == $group.path || $levelTwo.path == $group.getParent().path) class="active"#end
href="$baseUrl$levelTwo.path">$escape.html($levelTwo.title)</a>#ifa>
#if($merchantLoggedIn)<span>$levelTwo.getAttributeValueEditable("sort_order")</span>#end
#if($levelTwo.children && $levelTwo.getChildren().size() > 0 && $group.getRoot(4).path == $levelTwo.path)
<ul>
<ul> #set($levelThrees = $levelTwo.children)
$formatHelper.sortByAttribute($levelThrees, 'sort_order', false)
#foreach($levelThree in $levelThrees)
<li>
<a#if($levelThree.path == $group.path) class="active"#end rel="nofollow"
href="$baseUrl$levelThree.path">$escape.html($levelThree.title)</a>
</li>
#end #end
</ul>
#end #end
</li>
#end
</ul>
#end
#end
</div><!--/menu-->
<table height="10"><tr><td>>
<tr>
<td>
</table></tr></td>
<div class="menu">
<h3>
<a class="nav"><strong>Info</strong></a>
</h3>
#set($topLevelGroups = $group.getGroup("/info/").getChildren())
$formatHelper.sortByAttribute($topLevelGroups, "sort_order", false)
#foreach($topLevelGroup in $topLevelGroups)
<h4>
<a href="$baseUrl$topLevelGroup.path">
<strong>$topLevelGroup.title</strong>
</a>
</h4>
#if($topLevelGroup.getChildren() && $topLevelGroup.getChildren().size() > 0)
#set($levelTwoGroups = $topLevelGroup.getChildren())
$formatHelper.sortByAttribute($levelTwoGroups, 'sort_order', false)
<ul>
#foreach($levelTwoGroup in $levelTwoGroups)
<li>
<a href="$baseUrl$levelTwoGroup.path">$levelTwoGroup.title</a>
</li>
#end
</ul>
#end
#end #end
</div><!--/menu-->
<table height="10"><tr><td>
</td></tr></table>
<div class="menu">
<tr>
<td>
<h3></td>
</tr>
</table>
<div class="menu">
<h3>
<a class="nav"><strong>Social Networks</strong></a>
</h3>
#foreach ($snb in $socialNetworkHelper.getBookmarks($title))
<h4><a href="$snb.getTargetUrl()" target="_blank"><img src="$snb.getIconUrl()"> $snb.getName()</a></h4>
#end #end
</div><!--/menu--> |