You should only add the exception to the possibleNode variable, something like this should do the trick:
<xsl:variable name="possibleNodes" select="$items/descendant-or-self::*[ @isDoc and string(umbracoNaviHide) != '1' and count(attribute::id)=1 and (umbraco.library:IsProtected(@id, @path) = false() or umbraco.library:HasAccess(@id, @path) = true()) and local-name() != 'TextImageData' ]"/>
Search module - Problem with ignoring particular nodes
You should only add the exception to the possibleNode variable, something like this should do the trick:
Thanks!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.