Copied to clipboard

Flag this post as spam?

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


  • Simon Dingley 1474 posts 3431 karma points c-trib
    Aug 31, 2012 @ 14:02
    Simon Dingley
    0

    Umbraco Contour only rendering Navigation even when no form steps

    I have a fresh install of Contour which for some reason will only render the navigation controls regardless of the form selected and also when the forms have no additional steps anyway.

    Not doing anything special?

          <form runat="server">
            <umbraco:Macro FormGuid="1a1a783d-7c7b-42a8-85d9-dcb89d5ba7d0" Alias="umbracoContour.RenderForm" runat="server"></umbraco:Macro>
          </form>

    Using latest version from package repo which I believe is 1.1.13.2

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Aug 31, 2012 @ 14:06
    Ismail Mayat
    0

    Simon,

    Check your cookies are there any contour related ones? If so delete them then see if that sovles the problem.

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Aug 31, 2012 @ 15:28
    Simon Dingley
    0

    Tried and seems to make no difference, next step to try an old build.

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Aug 31, 2012 @ 16:46
    Simon Dingley
    0

    Tried clean install of UmbracoCms v4.8.1 and Contour 1.1.13.2 no issues, added Cultiv.RestContour_2.0.1 and still no issues so I must have a conflict somewhere else. Nothing in logs and so at a bit of a dead end. Hitting the 5pm deadline I think is now going to be out of the window ;(

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 05, 2012 @ 13:22
    Simon Dingley
    0

    Following some further testing the plot thickens!

    1. Previewing the form via the Contour section the form renders fine
    2. Creating a new test template that inherits directly from ~/umbraco/masterpages/default.master and contains nothing but the following and it renders fine also:
      <form runat="server">
        <umbraco:Macro runat="server" Alias="umbracoContour.RenderForm" FormGuid="[#competitionForm]"/>
      </form>

    Which leads me to think that the issue must be in the templates somewhere but I can't think what could cause the form controls not to even be added to the page let alone just not be rendered and to display the navigation in it's place. If the problem was just client-side display I could have put down to a styling issue or some rogue code on the client side.

    I'd welcome any further input ideas if anyone has any?

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 05, 2012 @ 17:35
    Simon Dingley
    0

    Finally found the source of the problem by process of elimination .It was a comment in the header relating to a workaround for another issue that I've blogged about. I have absolutely no idea why it was causing the Contour form to crap out though?

    <% // Required to prevent duplicate title tags being inserted. See http://www.prolificnotion.co.uk/asp-net-duplicate-title-tags/ %>
Please Sign in or register to post replies

Write your reply to:

Draft