Copied to clipboard

Flag this post as spam?

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


  • Greg 25 posts 103 karma points
    Feb 20, 2015 @ 20:42
    Greg
    0

    Nested macros calling nested nodes.

    I have a Page with a macro that gathers the RTE's content of it's children. However, those's children's RTE can potentially have the same Macro within it's RTE's.

    So it the tree:

    Page1

    ---- Child 1

    -----====GrandChild1

    However, when Child1 calls the macro and I use @CurrentPage.Children, I'm getting the Chidren of Page1 again instead of the Children of Child1 (ie GrandChild1).

    How do I get the Children of the Macro's caller?

     

Please Sign in or register to post replies

Write your reply to:

Draft