Copied to clipboard

Flag this post as spam?

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


  • Steve Wilkinson 132 posts 211 karma points
    Jan 16, 2015 @ 09:50
    Steve Wilkinson
    0

    No contourPageName so why is the <h4> put on the page?

    I have removed the editable names at the top of the form in Contour but Contour is putting in

    which is breaking accessibility as a) it has no content - doesn't need it as it's a one page form and b) even if it was valid, I would have to make up an

    and an

    above to have a valid

    .

    Can I change the code to only put that in if a value is there or remove it and if so, where do I find the bit of code?

    thanks

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jan 16, 2015 @ 10:08
    Dennis Aaen
    2

    Hi Steve,

    You should be able to find it in the folder /Umbraco/Plugins/umbracoContour/Views in this Views folder there is a cshtml file called Forms.cshtml, try search for h4 and you will find in line 40.

     <h4 class="contourPageName">@Html.Raw(Model.CurrentPage.Caption)</h4>

    Try also see the documentation about working with custom markup in Contour

    http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Custom-Markup/

    Hope this helps,

    /Dennis

  • Steve Wilkinson 132 posts 211 karma points
    Jan 16, 2015 @ 10:29
    Steve Wilkinson
    0

    Thanks very much, that should sort out the issue - brilliant :-)

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jan 16, 2015 @ 10:33
    Dennis Aaen
    100

    Hi Steve,

    You´re welcome, could you please mark the question as solved, so other people that came accross this post can go directly to the solution.

    You do this by click the little green tick in the top of my post.

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft