I have a macro which I need insert into my article. I have two fields. The first is included directly to template and it is working fine. The second field included in template with another macro, and when I try to use inline macro (<umbraco:Macro Alias="MyMacro" runat="server"></umbraco:Macro>) inside html nothing happens.
The mark up used when you insert Macros inline is different. Try clicking on the Macro button above your Richtext editor and insert the macro that way.
As an example here is a simple macro ( with dummy data ) inserted inline:
inserting macro
I have a macro which I need insert into my article. I have two fields. The first is included directly to template and it is working fine. The second field included in template with another macro, and when I try to use inline macro (<umbraco:Macro Alias="MyMacro" runat="server"></umbraco:Macro>) inside html nothing happens.
I appreciate any help you can offer.
Alexei
Hi Alexei,
The mark up used when you insert Macros inline is different. Try clicking on the Macro button above your Richtext editor and insert the macro that way.
As an example here is a simple macro ( with dummy data ) inserted inline:
Cheers,
Chris
Chris, thanks but it doesn't work
Firstly I use simple editor in this field. Secondly I'd tryed to insert code from RTE which is similar to your suggestion. But it did't help.
is working on a reply...