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
Hi
Any body manage to add filtering based on writer of the post? I thought I could copy and paste the same code for the tag filterer but nothing is returned. Here's what I have:
<xsl:for-each select="$tags/tags/tag"> <a href="{umbraco.library:NiceUrl($currentPage/ancestor-or-self::Blog/@id)}?filterby={.}" rel="tag"> <xsl:value-of select="."/> </a> <xsl:if test="position() != last()">, </xsl:if> </xsl:for-each> </xsl:otherwise> </xsl:choose> by <a href="{umbraco.library:NiceUrl($currentPage/ancestor-or-self::Blog/@id)}?filterby={$post/@creatorName}" rel="tag"> <xsl:value-of select="$post/@creatorName"/> </a>
After clicking on the creatorName, the "results" page considers the name as a tag. Any ideas? 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.
Continue discussion
Filter by post creator
Hi
Any body manage to add filtering based on writer of the post? I thought I could copy and paste the same code for the tag filterer but nothing is returned. Here's what I have:
<xsl:for-each select="$tags/tags/tag">
<a href="{umbraco.library:NiceUrl($currentPage/ancestor-or-self::Blog/@id)}?filterby={.}" rel="tag">
<xsl:value-of select="."/>
</a>
<xsl:if test="position() != last()">, </xsl:if>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
by
<a href="{umbraco.library:NiceUrl($currentPage/ancestor-or-self::Blog/@id)}?filterby={$post/@creatorName}" rel="tag">
<xsl:value-of select="$post/@creatorName"/>
</a>
After clicking on the creatorName, the "results" page considers the name as a tag. Any ideas? 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.