Copied to clipboard

Flag this post as spam?

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


  • Craig100 1136 posts 2523 karma points c-trib
    May 18, 2016 @ 13:48
    Craig100
    0

    MNTP Relative Start Node

    Umb 7.4.3

    Multi language site. Trying to get a picker to pick related content items with the appropriate site.

    Content en-gb Products Product Page1 Product Page2 Info Pages Info Page1 <--has the picker Info Page2 <--has the picker fr-fr Products Product Page1 Product Page2 Info Pages Info Page1 <--has the picker Info Page2 <--has the picker

    The Info Pages need to pick the Product pages in their own language.

    I tried $current/ancestor-or-self::Products and $parent/ancestor-or-self::Products and $site/ancestor-or-self::Products

    Can't discover the correct syntax. Can anyone help?

    Thanks,

    Craig

  • Alex Skrypnyk 6182 posts 24283 karma points MVP 8x admin c-trib
    May 18, 2016 @ 17:08
    Alex Skrypnyk
    100

    Hi Craig,

    If you need select nodes from current root node - definitely use $site. But you need something like : $site/descendant::Product Hope it will help you.

    Cheers, Alex

  • 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