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?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Feb 18, 2013 @ 09:16
    Tim Geyssens
    0

    @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

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Feb 18, 2013 @ 10:26
    Tim Geyssens
    0

    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"})

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Feb 18, 2013 @ 10:33
    Tim Geyssens
    0

    Ok let me see if I can reproduce 

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Feb 18, 2013 @ 10:51
    Tim Geyssens
    0

    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?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Feb 18, 2013 @ 11:50
    Tim Geyssens
    0

    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.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Feb 18, 2013 @ 13:13
    Tim Geyssens
    100

    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