Copied to clipboard

Flag this post as spam?

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


  • bigboy 16 posts 36 karma points
    Apr 04, 2012 @ 05:09
    bigboy
    0

    Contour razor does not work properly on Blog content

    Hi,

    After inserting a new contour form macro, it does not display anything on the blog page. However, if I insert a new contour form macro on the contact page, it displays properly. I guess there is some kind of conflict between the uBlosy macro and contour macro on a blog page. But i dont know how to fix it. please suggest.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Apr 08, 2012 @ 17:59
    Anthony Dang
    0

    It shouldnt make a difference. Can you paste your markup here?

     

  • bigboy 16 posts 36 karma points
    Apr 15, 2012 @ 04:10
    bigboy
    0

    Hi I simply added the coutour macro in the editor.

     

    <div umb_macroalias="umbracoContour.RenderForm" umb_formguid="36981007-9891-45a8-89d5-bf5ec36cd375" ismacro="true" onresizestart="return false;" umbversionid="43ff007f-7be2-49be-8623-67a070bfe35c" umbpageid="1124" title="This is rendered content from macro" class="umbMacroHolder"><!-- startUmbMacro -->
    <div id="contour" class="w leaveacomment">
    <h4 class="contourPageName">Leave a comment</h4>
    Your comment
    <div class="contourField text name textfield mandatory"><!-- Our label -->Name
    <div></div>
    <!-- Our Tooltip --> <!-- Validation --> </div>
    <div class="contourField text email textfield mandatory hasvalidator alternating"><!-- Our label -->Email
    <div></div>
    <!-- Our Tooltip --> <!-- Validation --> </div>
    <div class="contourField text website textfield hasvalidator"><!-- Our label -->Website
    <div></div>
    <!-- Our Tooltip --> <!-- Validation --> </div>
    <div class="contourField text comment textarea mandatory alternating"><!-- Our label -->Comment
    <div></div>
    <!-- Our Tooltip --> <!-- Validation --> </div>
    <div class="contourNavigation"></div>
    </div>
    <!-- endUmbMacro --></div>
    <p> </p>

     

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Apr 23, 2012 @ 01:13
    Anthony Dang
    0

    Strange... the call to umbraco.library.RenderMacroContent should take care of that.

    I assume this is happening in uBlogsyShowPost ? 

  • bigboy 16 posts 36 karma points
    Apr 23, 2012 @ 01:17
    bigboy
    0

    Yes. It happens in uBlogsyShowPost

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 24, 2012 @ 18:27
    Tom Fulton
    0

    I have a feeling it's because Contour's RenderForm macro is a UserControl macro, which I don't think RenderMacroContent supports

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Apr 27, 2012 @ 10:47
    Anthony Dang
    0

    Hey Tom

    If that is the case, will it render in old fashioned umbraco:item ?

Please Sign in or register to post replies

Write your reply to:

Draft