Copied to clipboard

Flag this post as spam?

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


  • Niels Kristiansen 166 posts 382 karma points
    May 20, 2010 @ 10:51
    Niels Kristiansen
    0

    Is it possible to make a confirm e-mail in Contour

    Hi,

    I have a website where they wants the visitor/customer to fill out a form, and afterwards confirm the order via e-mail. Is it possible at all in Contour?

    /Niels

  • Comment author was deleted

    May 20, 2010 @ 15:58

    Sure Niels,

    That can be done with workflows.

    Will have to double check if what you want can be done out of the box with the default email workflow.

    But if not you can also create your own custom workflow.

     

  • Niels Kristiansen 166 posts 382 karma points
    May 25, 2010 @ 10:17
    Niels Kristiansen
    0

    Cool,

    I was just trying to figure it out, but without any success unfortunately. I'm looking forward to hear if it's possible in a default workflow.

    /Niels

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    May 25, 2010 @ 13:21
    Tim
    0

    Hiya,

    I think that should be possible using the send email workflow that ships with Contour. If you look at the contour documentation here: http://umbraco.org/products/umbraco-contour/help-and-support/developer-documentation.aspx there's a section on creating emails and the different umbraco fields that you can drop into the email template that you define. I haven't used it for order forms, but I have had a few forms that sent a confirmation email to the user that submitted the form to let them know how quickly they could expect a response etc.

    The formatting for the email in the default is pretty basic though, so if you wanted to have a nicely formated HTML email with headers and footers etc, you might need to look at creating a custom one that pulls in your own template etc. You can download the source for the built in worflows here: http://our.umbraco.org/projects/umbraco-contour-shared-source and look at the send to email workflow and see if you can make ay changes you might require.

    Hope that helps!

  • Niels Kristiansen 166 posts 382 karma points
    Jun 04, 2010 @ 11:55
    Niels Kristiansen
    0

    Thank you all for the replies.

    I'm not the best developing in ASP.Net myself. Anyone up to help me out (for money of course) with the custom workflow.

    Here is the flow:

    1. A customer wants to subscribe to a course
    2. He see a list over all the course (first part of the project: make a list with a number showing how many seats theirs left)
    3. He clicks into a special course, ex. first aid
    4. He reads all the information and want's to register himself
    5. The registration form shows the standardinformation and also a bulletlist/dropdown of locations/dates. All of the locations/dates has aprox. 16 seats (second part of the project)
    6. After click submit, the customer gets an "Please confirm" e-mail. He accept the email and on the list over all courses the first aid courses number will now show one less seat (third part of the project)
    7. If all the seats are taken, an information will show saying "all seats taken" or in danish "Der er ikke flere pladser på holdet".

    Hope that's understandable, else please ask me. Hope someone thinks this is pretty straight forward to do.

     

    Kind regards
    Niels Kristiansen

  • Harald Ulriksen 207 posts 249 karma points
    Jun 04, 2010 @ 12:24
    Harald Ulriksen
    0

    Hi Niels,

    I got that functionality myself. We're doing group travels and events using contour and umbraco. For the first part you can use a course date combined with a property for number of seats, or you can use a contour form for this as well - course name, date, seats, instructor etc.

    For part two you will need a custom prevalue type which generates a list of the available dates for the current course. You might also need a custom field type if you wish to mark full courses as unavailable- if you wish not to display those you can do with the prevalue only. I have an Xpath prevalue type which can be used if you're using a document node for storing course dates and seats etc. at http://harald.ulriksen.net/2010/2/4/xpath-based-prevalue-for-contour.aspx

    You can sum the number of registrations for a form on a specific page to keep count of attendees, BUT you will need to do a check after the record has been created as well (in case two ppl. try to sign up for a course with 1 spot left) and make sure that it's not overbooked. 

    Feel free to contact me on twitter if you'd like more input on using contour for this. If you are going to Codegarden I would love to meet up and have a chat on it. 

    It's almost straight forward.

    Cheers,
    Harald. 

  • Harald Ulriksen 207 posts 249 karma points
    Jun 04, 2010 @ 12:43
    Harald Ulriksen
    0

    Was a little too fast.. 

    "For the first part you can use a document type with course date "

Please Sign in or register to post replies

Write your reply to:

Draft