Copied to clipboard

Flag this post as spam?

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


  • Brad Ford 34 posts 75 karma points
    Jul 16, 2013 @ 07:59
    Brad Ford
    0

    Contour : Bug with the formPicker

    I have form that I have customized using the recomended method of creating a folder with the GUID of the form, copying in the form.cshtml file and editing to my requirements.  

    This is the 3rd time I have done exactly that on this site but I have not hit a probelm until now. 

    The differnce here is that this form is getting added to the page via the document template where the user needs to use the formPicker to add the form. Like this. 

    <umbraco:macro alias="umbracoContour.RenderForm" runat="server" formGuid="[#competitionForm]" />

    The other 2 forms are added via the Content view. ie: manually. 

    I have customised this form using the method above but the customized version is not displayed on the site where the form was added with the formPicker. 

    If I add the same form to a page using the manual method, my customizations work as expect. Same form, 2 seperate pages, one picks up the customized verison, the other not. The later being added with the formPicker. 

    Is this a bug with Contour? Or is this something that can be fixed? 

     

     

     

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 16, 2013 @ 10:11
    Tim Geyssens
    100

    Hey Brad, looks like you are using the usercontrol macro (this is the old one that doesn't support customization) switch it to using the razor one and it will work like expected :)

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 16, 2013 @ 10:12
    Tim Geyssens
    0

    To quickly change this just update the alias attribute to umbracoContour.RazorRenderForm

  • Brad Ford 34 posts 75 karma points
    Jul 17, 2013 @ 01:04
    Brad Ford
    0

    Give that man a cigar (or a beer).. That did the trick. Thanks Tim. 

    Note all.. this is not a BUG like my original post suggested. 

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

    Yup not a bug but can be confusing :), glad it's working now

  • 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