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?
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
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
is working on a reply...
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.