Yes you can output your macros in your RTE. For this to work you need to go under Developer Section > Macros > Choose your macros > Render content in editor
umbraco.library:Item is used for the reason - to render macro that placed within RTE. Otherwise I would just just use pure <xsl:value-of select="rte" /> as you suggested.
The problem is that umbraco.library:Item doesn' work properly when called via umbraco.library:RenderMacroContent.
RenderMacroContent. How do I output RTE content in macro?
Hi everybody.
There're 2 xslt templates:
1) RenderAll.xslt - outputs all content on the page depending on what macros have been selected.
2) RenderNews.xlst - outputs news list.
The structure is as follows:
This piece of code gives empty string. Why?
just call your property alias
In that case It's not possible to output macros via RTE.
Yes you can output your macros in your RTE. For this to work you need to go under Developer Section > Macros > Choose your macros > Render content in editor
Nope it doesn't work like that.
umbraco.library:Item is used for the reason - to render macro that placed within RTE. Otherwise I would just just use pure <xsl:value-of select="rte" /> as you suggested.
The problem is that umbraco.library:Item doesn' work properly when called via umbraco.library:RenderMacroContent.
Holy Crap.....its not Render in Content in Editor but "Use in editor"
Same thing.
<xsl:value-of select="rte" /> - works
<xsl:value-of select="umbraco.library:Item(@id, 'rte') /> - doesn't work
Any thought why the second variant doesn't work?
What version of umbraco are you using btw ?
This topic might help you
Thanks, I'll check this one.
Umbraco version is 4.11.1
Thanks, Fuji.
The following expression (from the topic you mentioned) did work for me and solved the problem:
Hi Ivan,
Great you got it working!!!! :)
is working on a reply...