We have a multi-culture build that has several sites.
EN
AU
FR
Etc...
Each site has it's own collection of shareable content that can be 'picked' from nodes within that domain. The tree looks like this:
EN
Home (host and domain set here)
About
Contact
Shared Content
Widgets
Widget 1
We have created a MNTP that uses XPath to resolve to the Shared Content folder for the current site:
$site/sharedContent/widgets
We expect this to resolve to the Widgets folder for the current culture. And well... it works for the first site, but for all other sites, it doesn't resolve to anything.
I have tried trimming the selector right back to just $site, and it resolves to the correct root node. But, when I do this, all descendant nodes show in brackets, which makes me think that the current culture is not being passed to the MNTP XPath selector:
I've tried associating domains and cultures to the shared content node, but that doesn't seem to do anything.
Has anyone else bumped into this? And if so how did you get around it?
MNTP XPath with multi-culture site
Hi guys,
We have a multi-culture build that has several sites.
Each site has it's own collection of shareable content that can be 'picked' from nodes within that domain. The tree looks like this:
We have created a MNTP that uses XPath to resolve to the Shared Content folder for the current site:
We expect this to resolve to the Widgets folder for the current culture. And well... it works for the first site, but for all other sites, it doesn't resolve to anything.
I have tried trimming the selector right back to just $site, and it resolves to the correct root node. But, when I do this, all descendant nodes show in brackets, which makes me think that the current culture is not being passed to the MNTP XPath selector:
I've tried associating domains and cultures to the shared content node, but that doesn't seem to do anything.
Has anyone else bumped into this? And if so how did you get around it?
Any help is greatly appreciated.
TIA
Phil
Assuming there's cultures attached to the parent nodes? EN, FT, etc? Also what version are you using, I can try to reproduce it.
Hi Amir,
Thanks for your response.
Yeah the root nodes have cultures associated with them, and we're on version 8.2.2.
Kind regards
Phil
is working on a reply...