Copied to clipboard

Flag this post as spam?

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


  • Jonas Eriksson 930 posts 1825 karma points
    Sep 30, 2010 @ 08:57
    Jonas Eriksson
    0

    Markup customization

    Hi! Contour is brilliant.

    For one site I have some specific requirements for the markups so I like to ask

    Does Contour depend much on web form controls, so there's no possibility to go without asp:form?

    Can I change the produced form / label / input-markup someway if I need?

    And a third question that has not anything to do with the markup, can I use my own email provider to send a confirmation message? (I guess so)

    Cheers

    Jonas

  • Comment author was deleted

    Sep 30, 2010 @ 09:04

    Hi Jonas,

    By default you'll need to use the contour macro to insert the form (which is a .net usercontrol).

    But Sebastiaan has made a great extension http://our.umbraco.org/projects/website-utilities/cultiv-restcontour that makes it possible to submit records to Contour by using base (so by posting to a url). If you use that you have complete control over your form markup and no need for an form with runat server attribute.

    Sure you can hook code on different states of the record lifecycle (like when it's submitted) by adding a workflow to your form. It's also possible to create custom workflow types, for that check out the Contour developer docs (http://our.umbraco.org/projects/umbraco-pro/contour at the bottom of the page) and the Contour shared sourcecode to get started (http://our.umbraco.org/projects/umbraco-contour-shared-source)

  • Jonas Eriksson 930 posts 1825 karma points
    Sep 30, 2010 @ 09:13
    Jonas Eriksson
    0

    Ah, thanks, perfect!

Please Sign in or register to post replies

Write your reply to:

Draft