Copied to clipboard

Flag this post as spam?

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


  • Galina 44 posts 258 karma points
    Oct 17, 2014 @ 09:06
    Galina
    0

    Reusable recursive content

    Hello.

    I need to create a content item, that'll be reusable and recursive. I've found a wonderfull http://our.umbraco.org/wiki/how-tos/creating-reusable-content . But this code

    <umbraco:Macro toutIdArray="[#toutIDs]" Alias="ToutRender" runat="server" />

    add only a macro and I can't understand where and how can I add "umbraco:Item recursive="true"

    Any ideas?

     

  • Dennis Aaen 4457 posts 17970 karma points admin hq c-trib
    Oct 17, 2014 @ 09:29
    Dennis Aaen
    0

    Hi Galina,

    You should be able to do something like this, if I remeber correctly.:

    [$propertyAlias]

    <umbraco:Macro toutIdArray="[$toutIDs]" Alias="ToutRender" runat="server"/>

    http://our.umbraco.org/wiki/reference/templates/umbracomacro-element/macro-parameters/advanced-macro-parameter-syntax

    Hope this helps,

    /Dennis

  • 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