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.
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.
It shouldnt make a difference. Can you paste your markup here?
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>
Strange... the call to umbraco.library.RenderMacroContent should take care of that.
I assume this is happening in uBlogsyShowPost ?
Yes. It happens in uBlogsyShowPost
I have a feeling it's because Contour's RenderForm macro is a UserControl macro, which I don't think RenderMacroContent supports
Hey Tom
If that is the case, will it render in old fashioned umbraco:item ?
is working on a reply...