Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am having some problems inserting a Contour form into a rich text editor. I am on 4.7 and using Razor as the view engine.
I can insert the form into the Rich text editor and in Umbraco it displays, however when I publish the site it is rendering in the page like this:
<p> </p><?UMBRACO_MACRO toemail="firstname.lastname@example.org"formguid="3e75a1f9-648b-4f8d-8612-2d0db92c2db0"macroAlias="umbracoContour.RenderForm" /><p> </p>
Has anyone seen this before, can anyone point me in the right direction to fix it??
I can't speak for Razor specifically, but with XSLT you have to call the RTE field wrapped with the RenderMacroContent function if you expect a macro to be inside, or you'll get output like the above.
Try something like: @Html.Raw(umbraco.library.RenderMacroContent(content, currentNode.Id));
( from this thread )
Hope this helps,Tom
That's doing more than it was before, I now have a button at the bottom, but it's not quite right I will let you know as soon as it's solved...
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted