Copied to clipboard

Flag this post as spam?

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


  • manwood 87 posts 109 karma points
    Mar 07, 2010 @ 15:31
    manwood
    0

    How do you use querystring parameters in Macros? / Filtering content?

    I want users to be able to filter content by selecting a category. The page obviously has to do a postback once a category has been selected, then I can filder the results generted. But how do I pickup a querystring parameter in an XSLT macro?

    Is this the way to approach this?

    Thanks

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Mar 07, 2010 @ 15:38
    Peter Dijksterhuis
    0

    Hi,

    You can use the umbraco.library:RquestQueryString('yourkey') for this.

    <xsl:variable name="querystring" select="umbraco.library:RquestQueryString('yourkey')"/>

    HTH,

    Peter

  • 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