Copied to clipboard

Flag this post as spam?

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


  • DrewJigsaw 12 posts 29 karma points
    Jun 09, 2010 @ 16:09
    DrewJigsaw
    0

    Refrencing Page ID in XSLT transformed mail

    Hello all,

    Have recently purchased Contour to power our commenting system. However I've hit a bit of a wall with XSLT transformed mail. What I would like to able to do is run arguments using the PageID taken from the page the form was submitted on.

    However I don't think that is stored in the 'records' param. Any ideas how would I go about getting at it?

  • Harald Ulriksen 207 posts 249 karma points
    Jun 10, 2010 @ 12:51
    Harald Ulriksen
    0

    Hi Drew, the page id is available under the uformRecord as a node called pageid.

    This sample is sending email from Contour using the api and xslt transform

    <

     

    xsl:variable name="currentNode" select="umbraco.library:GetXmlNodeById($records//pageid)"/>

    Hth,
    Harald

  • DrewJigsaw 12 posts 29 karma points
    Jun 14, 2010 @ 13:48
    DrewJigsaw
    0

    Ahhhh,

    I had infact tried that already but had completely negleted to refrence the @id of the varible that I had created resulting in it returning the data from inside the node.

    Thankyou Harald

  • 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