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
Hi all,
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="xxxxxx@gmail.com"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?? Is it even possible to allow a contour form to be dropped into the RTE and render it from a Razor file?
Cheers,
Steve
Have a look at this topic:
http://our.umbraco.org/forum/developers/razor/21908-Razor-macro-not-rendering-when-added-via-Richtext-Editor
I've just learned that you can make it work like this:
http://our.umbraco.org/forum/developers/razor/21275-Rendering-RTE-with-embedded-macros-in-Razor
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Contour, the Rich Text Editor and Razor
Hi all,
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:
Has anyone seen this before, can anyone point me in the right direction to fix it?? Is it even possible to allow a contour form to be dropped into the RTE and render it from a Razor file?
Cheers,
Steve
Have a look at this topic:
http://our.umbraco.org/forum/developers/razor/21908-Razor-macro-not-rendering-when-added-via-Richtext-Editor
I've just learned that you can make it work like this:
http://our.umbraco.org/forum/developers/razor/21275-Rendering-RTE-with-embedded-macros-in-Razor
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.