Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Phillip Ng 148 posts 250 karma points
    Mar 10, 2011 @ 20:40
    Phillip Ng
    0

    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!

  • 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.

Please Sign in or register to post replies