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
Hello :).
In XSLT i am trying to call a macro that will render a contour form.
<xsl:value-of select="umbraco.library:Item($currentPage/@id,'mainContentRight')"/>
This is killing my markup though :(.
Any ideas?
Charlie. Thanks.
Hi Charlie,
The mainContentRight is an RTE field, right?
You should be able to use the RenderMacroContent() method:
RenderMacroContent()
<xsl:value-of select="umbraco.library:RenderMacroContent($currentPage/mainContentRight, $currentPage/@id)" disable-output-escaping="yes" />
(You may actually also just be able to add the disable-output-escaping attribute on your existing <xsl:value-of /> ?)
disable-output-escaping
<xsl:value-of />
/Chriztian
Hi Chriztian,
Thanks, mainContentRight is a RTE field.
I tried the xslt you supplied. Thanks for that. Its rendering buttons but not the actual form. The mark-up is not breaking though :). Thanks. Charlie.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Calling a macro to render contour form deforming markup
Hello :).
In XSLT i am trying to call a macro that will render a contour form.
<xsl:value-of select="umbraco.library:Item($currentPage/@id,'mainContentRight')"/>
This is killing my markup though :(.
Any ideas?
Charlie. Thanks.
Hi Charlie,
The mainContentRight is an RTE field, right?
You should be able to use the
RenderMacroContent()
method:(You may actually also just be able to add the
disable-output-escaping
attribute on your existing<xsl:value-of />
?)/Chriztian
Hi Chriztian,
Thanks, mainContentRight is a RTE field.
I tried the xslt you supplied. Thanks for that. Its rendering buttons but not the actual form. The mark-up is not breaking though :). Thanks. Charlie.
is working on a reply...