Copied to clipboard

Flag this post as spam?

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


  • Warren Buckley 2089 posts 4578 karma points MVP ∞ admin hq c-trib
    Nov 27, 2009 @ 17:10
    Warren Buckley
    0

    Workflow Emails

    Hiya Guys,
    I am finally getting round to playing with Contour properly rather that just tinkering.

    OK I am setting up a Blog Post Comment Form and when a comment is posted I would like to be notified by email.

    So I have added the email item in the workflow for this and this works great as expected, however I would like to put in some kind of dyanmic placeholders that get replaced.

    For example here is the email I setup:

    Subject Line:
    New Blog Post Comment on [nodeName]

    Message:

    Hello Warren,
    Someone has posted a comment on the [nodeName].
    Sent on [Date] at [Time]

    Please review the comment for approval.

    Here is the message I receieved, obviously I took a wild guess with the placeholders.

    Hello Warren, Someone has posted a comment on the [nodeName]. Sent on [Date] 
    at [Time] Please review the comment for approval.


    Name:

    Warren testing email
    Email:
    [email protected]
    Website:
    http://google.co.uk
    Comment:
    please work with email....

    • Are there any default placeholders that I don't know about?
    • Is it possible to modify/deploy some code that would help me to do this, as I think it would be useful to know what page/node the comment form was submitted from.

    Thanks,
    Warren

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Nov 27, 2009 @ 18:02
    Tim Geyssens
    0

    Hi Warren,

    The default send as mail workflow doesn't have a placeholders option. But you could create a custom workflow type that does have this functionality.

    You can find a full workflow type sourcecode in the developer docs http://umbraco.org/products/umbraco-contour/help-and-support/developer-documentation

  • 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