Copied to clipboard

Flag this post as spam?

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


  • cato 11 posts 21 karma points
    Aug 10, 2009 @ 05:10
    cato
    0

    Retaining Querystring after URL rewrite

    Is there an easy way to get the value of a Querystring after it has been rewritten to a nice looking url from within xslt?

    cheers

  • Chris Koiak 700 posts 2626 karma points
    Aug 10, 2009 @ 07:01
    Chris Koiak
    0

    Hi cato,

    Could you give an example of what you mean?

    To get query string parameters in xslt you can use

    <xsl:value-of select="umbraco.library:RequestQueryString('yourParam')" /> 

    You can get the current node id using

    <xsl:value-of select="$currentpage/@id" />

    Cheers,

    Chris

Please Sign in or register to post replies

Write your reply to:

Draft