Copied to clipboard

Flag this post as spam?

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


  • Mohammad Khan 23 posts 81 karma points
    Oct 24, 2013 @ 21:53
    Mohammad Khan
    0

    Default Contact Us and Comment form not rendering

    Hey Guys,

    We just pushed some updates to our Umbraco intranet site which is setup using a custom template and using Visual Studio. It seems to have broken Contour. The default "Contact Us" page and "Comments form" display this:

    enter image description here

    All the asp.net content placeholder are set to runat server and two forms that were manually placed in the master page are visually rendering correctly (even though they are not sending out emails and don't given any error why).

    Keep in mind that these forms were working fine before we pushed the updates using Courier. I don't understand where its getting the "Previous" and "Next" buttons from.

    Using Umbraco Version: 4.7.1 and Contour Version: 1.1.10

    Any help will be appreciated.

    Thank You.

  • Comment author was deleted

    Oct 29, 2013 @ 16:41

    Is this still an issue? How are you outputting the form? Do the forms look ok in the Contour section?

  • Mohammad Khan 23 posts 81 karma points
    Nov 01, 2013 @ 20:26
    Mohammad Khan
    0

    Yes this is still an issue. The above form is generated after inserting the macro in the Umbraco RTE. The form appears fine in Contour itself (Keep in mind this was working fine prior to pushing an update using Courier).

    The manually inserted forms are appearing fine, using the below code:

    <umbraco:Macro ID="Macro2" runat="server" language="cshtml">
         @{
             var reportInaccuracyURL = Model.UrlName;
             reportInaccuracyURL = reportInaccuracyURL + "/report-inaccuracy.aspx";
          }
          <a href="@reportInaccuracyURL" class="button-small">Report an Inaccuracy</a>
    </umbraco:Macro>
    

    None of the forms are sending out any emails (used to work as well) even when previewing through contour. I have triple checked the web.config and it has the correct info and there were no modifications made to the forms or the web.config area where the mail server is defined.

    Thank You for your assistance.

  • Mohammad Khan 23 posts 81 karma points
    Nov 08, 2013 @ 15:40
    Mohammad Khan
    0

    Would really appreciate any help with this, still an issue.

  • Comment author was deleted

    Nov 11, 2013 @ 11:31

    And how are you outputting the rte field on your templates?

  • Mohammad Khan 23 posts 81 karma points
    Nov 12, 2013 @ 17:48
    Mohammad Khan
    0

    Its implemented like so in a basic webpage template:

    <umbraco:macro runat="server" language="cshtml">
        @if (@Model.isContentBox)
        {
           <div class="content-box">
               <div class="content-box-title">@Model.title</div>
                    @Html.Raw(umbraco.library.RenderMacroContent(Model.bodyText.ToString(), Model.Id))
               </div>
        }
        else
        {
          <h1>@Model.title</h1>
          @Html.Raw(umbraco.library.RenderMacroContent(Model.bodyText.ToString(), Model.Id))
        }
    </umbraco:Macro>

  • Mohammad Khan 23 posts 81 karma points
    Nov 26, 2013 @ 17:22
    Mohammad Khan
    0

    Still have not been able to get this working.

Please Sign in or register to post replies

Write your reply to:

Draft