I have a cog navigation an now i want to hide one doc type "FAQPost"
I struggeling to get it to work, and i cant get the othere forum posts about the issue to work.
Any suggestions?
<!--for each node in the parent node that is not hidden by Umbraco-->
<xsl:for-each select="$parentNode/*[@isDoc][
string(umbracoNaviHide) != '1'
and ($securityTrimming != '1'
and name() != 'FAQPost'
or umbraco.library:IsProtected(@id, @path) = false()
or umbraco.library:HasAccess(@id, @path) = true())
]">
Add the last [name()!='YourDocType' or name()!='YourDocType'] and then it works.
René
<!--for each node in the parent node that is not hidden by Umbraco-->
<xsl:for-each select="$parentNode/*[@isDoc][
string(umbracoNaviHide) != '1'
and ($securityTrimming != '1'
or umbraco.library:IsProtected(@id, @path) = false()
or umbraco.library:HasAccess(@id, @path) = true())
][name()!='YourDocType' or name()!='YourDocType']">
Hide doctype from navigation
HI
Umbraco v6.0.2 (Assembly version: 1.0.4811.18151)
I have a cog navigation an now i want to hide one doc type "FAQPost"
I struggeling to get it to work, and i cant get the othere forum posts about the issue to work.
Any suggestions?
Kindly René
Hi
I found the solution.
Add the last [name()!='YourDocType' or name()!='YourDocType'] and then it works.
René
is working on a reply...