Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a way to combine getTagsFromNode and getAllTagsInGroup without comparing the whole list of TagsInGroup with the TagsFromNode?
<xsl:variable name="tagsFromThisNode" select="tagsLib:getTagsFromNode(@id)" /><xsl:variable name="tagsFromGroup" select="tagsLib:getAllTagsInGroup('whatever')/tags/tag" />
found out that $tags/tags/tag [@group = 'Categories'] will do the thrick
<xsl:variable name="tags" select="tagsLib:getTagsFromNode(@id)" /> <xsl:for-each select="$tags/tags/tag [@group = 'Categories']"> <a href="{umbraco.library:NiceUrl(@id)}?category={.}" rel="tag" title="{.}"> <xsl:value-of select="."/> </a> <xsl:if test="position() != last()">, </xsl:if> </xsl:for-each>
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.
Continue discussion
combine getTagsFromNode and getAllTagsInGroup?
Is there a way to combine getTagsFromNode and getAllTagsInGroup without comparing the whole list of TagsInGroup with the TagsFromNode?
found out that $tags/tags/tag [@group = 'Categories'] will do the thrick
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.