Copied to clipboard

Flag this post as spam?

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


  • MK 426 posts 902 karma points
    Jul 29, 2013 @ 14:35
    MK
    0

    1 form 2 layouts

    Hi there,

    Im using Contour on umbraco 6.1.2 MVC. 

    I would like to use 1 form with 2 different html templates.

    Does anyone know on how to go about it?

    Can I call different views?

    Regards,

    mkariti

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 30, 2013 @ 09:59
    Tim Geyssens
    0

    Hey,

    You can set the view but you can customize so maybe you can just have the 2 layouts in a single view (and then have a condition in there)

    http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Custom-Markup/

  • MK 426 posts 902 karma points
    Jul 30, 2013 @ 11:00
    MK
    0

    Hi Tim,

    Many thanks for your reply.

    I was considering such solution but my website consist of 3 different layout - pc, mobile and tablet, which make it a bit harder to maintain.

    I think in this case I will just use JS/ Jquery to send the data to contour.

    Cheers

    Mkariti

     

  • 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