xsl:for-eachselect="$currentPage/* [name() = $propertyAlias and not(@isDoc) and string(umbracoNaviHide) != '1']/links/link[@type='external' or umbraco.library:NiceUrl(@link)!='#']">
I added the bold underlined part and now it works for me. The NiceUrl returns # when the document isn't unpublished or is deleted.
related links, deleted and unpublished items
hi,
is it at all possible to get related links to omit links to internal pages that have been unpublished or deleted?
Im using the current Related Links XSLT template.
anyone?? :)
Try change in your xslt the search condition:
I added the bold underlined part and now it works for me. The NiceUrl returns # when the document isn't unpublished or is deleted.
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.