Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've followed the video on the blog - http://umbraco.com/follow-us/blog-archive/2012/11/8/contour-30-features-full-control-over-form-markup.aspx - and have customised Form.cshtml to add a new class and render the page name with a h2 tag (previously it was a h4).
However, this doesn't seem to make a difference - when I view the page with the form, that field still renders with a h4.
I'm using the form picker datatype and passing the GUID to a macro in my master template like this...
<umbraco:Macro ID="ServiceAreaContentContourFormMacro" runat="server" Alias="umbracoContour.RenderForm" FormGuid="[#insertAForm]" />
Debugging the page does show some other errors, but I'm not sure they are related:
Am I missing something?
Comment author was deleted
Hey,
Looks like you are using the usercontrol macro, you need to use the razor scripting file one, then you should be able to see the changes
Ah, rookie mistake, sorry!
Using the "umbracoContour.RazorRenderForm" macro now & it works as expected. Thanks for your help, h5yr!
No prob, glad I could help :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Contour 3 not rendering customised view
I've followed the video on the blog - http://umbraco.com/follow-us/blog-archive/2012/11/8/contour-30-features-full-control-over-form-markup.aspx - and have customised Form.cshtml to add a new class and render the page name with a h2 tag (previously it was a h4).
However, this doesn't seem to make a difference - when I view the page with the form, that field still renders with a h4.
I'm using the form picker datatype and passing the GUID to a macro in my master template like this...
Debugging the page does show some other errors, but I'm not sure they are related:
Am I missing something?
Comment author was deleted
Hey,
Looks like you are using the usercontrol macro, you need to use the razor scripting file one, then you should be able to see the changes
Ah, rookie mistake, sorry!
Using the "umbracoContour.RazorRenderForm" macro now & it works as expected. Thanks for your help, h5yr!
Comment author was deleted
No prob, glad I could help :)
is working on a reply...