One thing it might be worth trying is right clicking the top 'content' node and selecting 'republish entire site' as there maybe a duplicate in the cached xml.
You can check this by opening the umbraco.config file in your App_Data directory.
If not, it might be useful if you could post an image of your content structure in Umbraco
double menu item
hi i use this code
<!-- Input the documenttype you want here -->
<xsl:variable name="level" select="1"/>
<xsl:template match="/">
<!-- The fun starts here -->
<ul class="menu">
<li>
<a href="/umbraco/soft-solutions-bv-home.aspx">Home</a>
</li>
<xsl:for-each select="$currentPage/ancestor-or-self::* [@level = $level]/* [string(umbracoNaviHide) != '1' and @isDoc]">
<li>
<a href="{umbraco.library:NiceUrl(@id)}">
<xsl:value-of select="@nodeName"/>
</a>
</li>
</xsl:for-each>
</ul>
i get some item double in my menu.
The contents looks like this
-home
- Diensten
- Support
- Contract
Diensten is the double one.
you can see it on test.soft-solutions.nl/umbraco
why is it double ?
Hi Frank,
Can't see anything wrong with your code.
One thing it might be worth trying is right clicking the top 'content' node and selecting 'republish entire site' as there maybe a duplicate in the cached xml.
You can check this by opening the umbraco.config file in your App_Data directory.
If not, it might be useful if you could post an image of your content structure in Umbraco
Hope that helps
Rich
is working on a reply...