x First time here? Check out the FAQ

Come work for Umbraco - The Umbraco HQ are hiring Project managers, .NET developers and DevOps people!

  • Avatar284posts538karma

    Copy Forms or Create a new Template?

    Jason Prothero started this topic February 10, 2010 @ 11:41, Go directly to the topic solution

    Is it possible to copy forms in Contour?

    If not, then how do I create a template?  I've seen reference to a config file, but I can't seem to find its location. 

     

    Thanks!


  • Tim Geyssens posted this reply February 11, 2010 @ 06:53

    Hi Jason,

    You can create new templates in the /umbraco/plugins/contour/contour.config file

    Cheers,

    Tim


  • Avatar985posts2434karma
    Comment with ID: 26124
    Lee posted this reply February 11, 2010 @ 08:31

    Will you cover this kind of thing in a future umb.tv video Tim?


  • Avatar284posts538karma
    Comment with ID: 26149
    Jason Prothero posted this reply February 12, 2010 @ 02:03

    Thanks!

    I'll poke around and see what I can find...

     


  • Avatar284posts538karma
    Comment with ID: 26446
    Jason Prothero posted this reply February 16, 2010 @ 01:16

    It's actually fairly easy.  Maybe I can do a screencast on it...


  • Avatar179posts254karma
    Comment with ID: 27269
    Josh Reid posted this reply February 24, 2010 @ 11:31

    Can you add values to (dropdown/checkbox/radio) lists at all?

    If so what is the syntax in the xml? I have searched high and low...

    Thanks ;)


  • Avatar73posts265karma
    Comment with ID: 109670
    Michael Sims posted this reply March 1, 2012 @ 08:21

    Did you have any luck with the xml syntax?


  • Avatar73posts265karma
    Comment with ID: 121621
    Michael Sims posted this reply July 9, 2012 @ 06:14

    I discovered with this that you just create the form, export it with a right-click and then dump it in a directory in your solution. Brilliant!!


  • Kevin Giszewski posted this reply March 28, 2013 @ 08:24

    Seems to have worked as Michael described except I had to keep changing out the GUID manually in the .ucf file

    <Form>ae45771d-6cad-4a7c-a386-e7397c75ed5a</Form> <!--changed this everytime I cloned it-->

  • Tim Geyssens posted this reply March 29, 2013 @ 11:14

    @Kevin you are probably using an older version, was a bug where it would fail with existing guids


  • Avatar862posts1607karma
    Comment with ID: 175949
    Jonas Eriksson posted this reply March 21, 2014 @ 09:31

    Cool - in the current version its simply a matter of copying the ucf (export form) to /plugins/umbracoContour/templates


Pages:

Please login or Sign up To post replies