Reputation: 249
I have a multilingual site and use the Related Pages functionality here and there. What I've noticed is that related pages are not localized, meaning if I add a related page for the U.S. site, that page will be related to the U.K. site as well. And that's not what I want.
Is there a way to restrict Related Pages to only pages that are available in the current culture?
Upvotes: 0
Views: 75
Reputation: 998
You can restrict relationship per site, but not per culture. you define relationship between tree nodes - not between documents.
You can restrict per site when you create relationship name (this include 2 tables CMS_RelationshipNameSite
and CMS_RelationshipName
) and name will be available when you create relationship between pages. Behind the scenes all sites use View_CMS_Relationship_Joined
: So if a relation between 2 pages is already defined - it doesn't matter whether this relationship name is enabled for your site or not.
Relationships Module is sealed - so you will not be able to add culture.
That being said you can create your own custom form control and use custom table to define relationship between pages the way you want. As far as I understand you need document to document
not node to node
Upvotes: 1