No I'm looking for a way of excluding document types.
I'm creating a very large image gallery, and do not want each individual image displaying in my navigation. Having to check a true/false checkbox on each page wouldn't be practical.
I've found that this works well as a short cut, but I'd still like someway of creating an array or list of excluded document types.
First hide ancestorSelected state:
<!--Is the node a branch? i.e. are there children and is it in the colletion of ancestor nodes --> <xsl:variablename="isBranch"> <xsl:choose> <xsl:whentest="$currentPage/ancestor-or-self::*[@isDoc][@id = $currentNodeID]/child::*[@isDoc][name() != 'MyDoctypeAlias']">1</xsl:when> </xsl:choose> </xsl:variable>
How to exclude document types from Flexible Navigation?
Can someone tell me how I to exclude document types from the Flexible Navigation?
How do I edit the XSLT to allow for an array or list of document types to be excluded from the navigation?
Has there been advance on the following suggestion: http://our.umbraco.org/projects/website-utilities/cogworks-flexible-navigation/bugs,-ideas-and-questions/15216-Suggestion-Option-to-exclude-document-types
HI
Have you tried the UmbracoNavihide - and then check this one
René
No I'm looking for a way of excluding document types.
I'm creating a very large image gallery, and do not want each individual image displaying in my navigation. Having to check a true/false checkbox on each page wouldn't be practical.
Hi
Ooh - sorry i misunderstood your question.
René
I've found that this works well as a short cut, but I'd still like someway of creating an array or list of excluded document types.
First hide ancestorSelected state:
Then hide the child nodes (hasChildren):
is working on a reply...