Copied to clipboard

Flag this post as spam?

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


  • rn4j0r 15 posts 85 karma points
    Dec 16, 2014 @ 22:03
    rn4j0r
    0

    Editing the script that sends the emails



    I would like to be able to append the clients URLs before the very last line in the emails so that the client can just click it and DL their file directly.

    Example of what I want it to have:
    http:///blah.com/umbraco/plugins/umbracoContour/files/48387559-22ef-4f82-8bcf-c1a157d8aaa3/blah.txt

    Instead of:

    /umbraco/plugins/umbracoContour/files/48387559-22ef-4f82-8bcf-c1a157d8aaa3/blah.txt

    Where do I go to edit this? I assume its buried in a .config file somewhere?

    Thanks in advance.

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Dec 16, 2014 @ 22:16
    Dennis Aaen
    101

    Hi rn4j0r,

    I think that the file that is used for send out the emails, when you submiit a form in Contour is an XSLT file called sendXsltEmailSample.xslt. This file is located here: \Umbraco\Plugins\umbracoContour\xslt\sendXsltEmailSample.xslt

    And I found some blogbost from someone that had been trying to something similar that you want try to see this http://egeek.dk/umbraco-contour-xslt-transformed-mail-link/ and is a GitHub version of the file:https://gist.github.com/PaulSorensen/7983503

    Hope this helps, or at least can inspire you to find a way to do it.

    /Dennis

  • rn4j0r 15 posts 85 karma points
    Dec 16, 2014 @ 22:41
    rn4j0r
    0

    Thank you Dennis.

    I was able to use that exact .xslt file and it works oh so lovely.

    Thanks! 

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Dec 16, 2014 @ 22:50
    Dennis Aaen
    0

    Hi rn4j0r,

    You´re welcome, great that I could help you.

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft