Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sean Dooley 273 posts 490 karma points
    Jun 09, 2011 @ 17:46
    Sean Dooley
    0

    Nested richtext editor macro not displaying

    I have the following scenario:

    A macro on the homepage that renders children up to level 2, displaying properties such as pageName, bodyText and images without any issues.

    One of the children's bodyText has a macro inserted via the editor. It displays the macro content in the editor but does not display the macro content on the homepage.

    No errors show up when using umbDebugShowTrace=true

    Any ideas?

  • Kim Andersen 1447 posts 2196 karma points MVP
    Jun 09, 2011 @ 17:53
    Kim Andersen
    0

    Hi Sean

    Are you rendering the children nodes through XSLT?

    /Kim A

  • Sean Dooley 273 posts 490 karma points
    Jun 09, 2011 @ 18:10
    Sean Dooley
    0

    @Kim I am rendering the child nodes via XSLT on the homepage, and the macro inserted in the editor which is not displaying is also rendered via XSLT.

  • Kim Andersen 1447 posts 2196 karma points MVP
    Jun 09, 2011 @ 19:52
    Kim Andersen
    0

    All right. I guess that you are using a value-of then?

    Could you try out the RenderMacroContent-extension like this:

    <xsl:value-of select="umbraco.library:RenderMacroContent('bodyText',@id)" />

    Does this make any difference?

    /Kim A

  • Sean Dooley 273 posts 490 karma points
    Jun 10, 2011 @ 12:46
    Sean Dooley
    0

    @Kim A that does make a difference.

    Greatly appreciate your help!

    Thank you

  • Kim Andersen 1447 posts 2196 karma points MVP
    Jun 11, 2011 @ 18:05
    Kim Andersen
    0

    Cool, I'm glad to hear that it works now Sean.

    Have a nice weekend!

    /Kim A

  • 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.

Please Sign in or register to post replies