I've built a global menu for a new site that uses a separate unordered list for each top level section. So that I can have multiple albums per subject matter I have a top level container page called Gallery that holds 6 actual imgage_gallery galler pages, with each of these having X number of albums. The menu code I have that works ok so far is:
<ul class="topNav">
<li class="sub-li"><a class="sub-a" href="/gallery">Gallery</a>
<ul>
<% control ChildrenOf(gallery) %>
<li class="sub-li"><a class="sub-a" href="$Link">$MenuTitle</a>
<% if Albums %>
<ul class="fly">
<% control Albums %>
<li><a href="$Link">$AlbumName</a></li>
<% end_control %>
</ul>
<% end_if %>
</li>
<% end_control %>
</ul>
</li>
</ul>
Now at the moment this displays a nice drop-down from Gallery of my 6 gallery pages. But of course the flyout level 3 is displaying 'Default Album' for each gallery. Is there some IF condition I can place in the <% control Albums %> loop to only output a list item if the album name is not 'Default Album'? I'm sure this can be done I'm just struggling with the syntax. Can anyone help?
Thanks