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
Hello Guys, I got a question for you:I have a currentPage called Blog which contains a couple of tags (Data Type tags). I display these by using:<xsl:if test="string-length($currentPage/tags) > 0"> <xsl:variable name="tags" select="umbraco.library:Split($currentPage/tags,',')" /> <xsl:for-each select="$tags//value"> <a href="" title="Bekijk hier het overzicht van content over het onderwerp '{current()}'"><button class="btn btn-default hidden-xs"><xsl:value-of select="current()"/></button></a>
</xsl:for-each></xsl:if>
Now i would like to compare all other blogs and see which blogs contain one or multiple tags that match the currentPage tags. How would i go about doing this? I found another topic similar to this one but i just couldnt figure it out. Any help would be much appreciated.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Comparing tags with other nodes with one or multiple same tags using XSLT
Hello Guys,
I got a question for you:
I have a currentPage called Blog which contains a couple of tags (Data Type tags). I display these by using:
<xsl:if test="string-length($currentPage/tags) > 0">
<xsl:variable name="tags" select="umbraco.library:Split($currentPage/tags,',')" />
<xsl:for-each select="$tags//value">
<a href="" title="Bekijk hier het overzicht van content over het onderwerp '{current()}'"><button class="btn btn-default hidden-xs"><xsl:value-of select="current()"/></button></a>
</xsl:for-each>
</xsl:if>
Now i would like to compare all other blogs and see which blogs contain one or multiple tags that match the currentPage tags.
How would i go about doing this? I found another topic similar to this one but i just couldnt figure it out. Any help would be much appreciated.
is working on a reply...