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?
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
Hi,
You can use the umbraco.library:RquestQueryString('yourkey') for this.
<xsl:variable name="querystring" select="umbraco.library:RquestQueryString('yourkey')"/>
HTH,
Peter
is working on a reply...