Hello all,
I'm trying to get the tags from the article that's being displayed using Per's Tag Package.
I've got all the other tag library methods to work, but this one's stumping me and it's quite an important piece of functionality.
This is what I've currently got:
Code:
<xsl:variable name="currentID" select="macro/currentID"/>
<xsl:param name="currentPage"/>
<xsl:template match="/">
<ul class="tags">
<!--<xsl:for-each select="umbracoTags.library:getTagsFromNode($currentID)">-->
<xsl:for-each select="umbracoTags.library:getTagsFromNode('1140')">
<li>
<a href="/?filterBy={current()}">
<xsl:value-of select="current()"/>
</a>
(<xsl:value-of select="1 + 10"/>)
</li>
</xsl:for-each>
</ul>
</xsl:template>
I was passing in the ID of the current article as the node ID, but that wasn't working, so I thought I'd test it by hard coding a node ID in that I knew had lots of tags and it still isn't working.
Can anyone see what I'm missing??
Many thanks in advance