My site structure is like
Site Name
Home
About
Contact US
Help
I use the following macro to display horizontal navigation.
[code]<#macro renderNavigation pageNode>
<#assign currentPage = cmsfn.page(content)>
<#assign isSelected = (pageNode.@path == currentPage.@path)!false>
<#if isSelected >
<li class="selected">
<span>${pageNode.title!pageNode.@name}</span>
</li>
<#else>
<li>
<a
href="${cmsfn.link(pageNode)}"><span>${pageNode.title!pageNode.@name}</span></a>
</li>
</#if>
<#list cmsfn.children(pageNode, "mgnl:page") as childPage>
<@renderNavigation childPage />
</#list>
</#macro>[/code]
How to I hide Site name appearing in navigation.
Thanks
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=fbfe80e0-1f04-47cd-a068-0442fa0a606c
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------