Copied to clipboard

Flag this post as spam?

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


  • Roberto Vega 5 posts 35 karma points
    Feb 15, 2013 @ 16:35
    Roberto Vega
    0

    Contour not rendering

    I got a problem with Contour, it does not render on my umbraco site.

    Running Contour 3.0.7.0 and Umbraco 6.0 with MVC razor. The only information I get is this:  Filtering is not allowed.

    Is there something I have missed?

  • Comment author was deleted

    Feb 18, 2013 @ 09:16

    @Roberto and does the form show up when you preview it?

  • Roberto Vega 5 posts 35 karma points
    Feb 18, 2013 @ 10:24
    Roberto Vega
    0

    It works in preview. Well in Contour not on the Node

  • Comment author was deleted

    Feb 18, 2013 @ 10:26

    Sounds like it might be an issue on your template then, are you using views or masterpages?

  • Roberto Vega 5 posts 35 karma points
    Feb 18, 2013 @ 10:30
    Roberto Vega
    0

    Using Views.

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage

    @{
        Layout = "~/Views/Contents.cshtml";
    }

    @Umbraco.RenderMacro("umbracoContour.RazorRenderForm", new {FormGuid = "36b6ff68-0afa-4c5d-8784-1ebb36e04dd4"})

  • Comment author was deleted

    Feb 18, 2013 @ 10:33

    Ok let me see if I can reproduce 

  • Comment author was deleted

    Feb 18, 2013 @ 10:51

    Just tried the same setup and it works so it's most likely an issue on your views... 

    Could you try if it works with the most basic template (just create a new test)

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
    @{
        Layout = null;
    }
    <html>
        <head>
        </head>
    
        <body>
        @Umbraco.RenderMacro("umbracoContour.RazorRenderForm", new {FormGuid="128862f6-df30-43f4-abaf-21ddf8107725" })
        </body>
    </html>

    (just need to change to correct formguid)

  • Roberto Vega 5 posts 35 karma points
    Feb 18, 2013 @ 11:46
    Roberto Vega
    0

    Still the same error. Can it be a config issue on the web.config?

  • Comment author was deleted

    Feb 18, 2013 @ 11:50

    Did you customize the views of the contour form?

  • Roberto Vega 5 posts 35 karma points
    Feb 18, 2013 @ 13:10
    Roberto Vega
    0

    Do you mean MvcRenderContourForm.cshtml? Then no.

    I tried the exampel you posted.

  • Comment author was deleted

    Feb 18, 2013 @ 13:13

    Strange, any chance I can take a look at the installation, you can mail details to tg at umbraco dot com

  • 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