How to show teasers of other domain content?

Created on 30 July 2013, almost 12 years ago
Updated 2 May 2025, about 1 month ago

Thanks for this amazing module. I'm using it in a project with several domains and it works like a charm. However, I'm having one use-case I can't get to work.

We are using the Relations module to link content within the site. For example; we show related 'activity' nodes in the the sidebar for specific 'news_items'. The clients now requests a way to show related content across domains. So; show a related activity from domain1 on a news items of domain2.

The Relation module allows admins to relate content from all domains. However, this content is not shows in the sidebar as a teaser due to Domain module (which uses hook_node_access_records() and hook_node_grants()). I've tried implementing hook_node_access(), but that only works for full nodes, where I'd like to allow viewing of teasers.

Summarized: is there a way to show teasers of another domain content in specific cases (eg; it is linked to using the Relation module from the current page), and if so; how? Can this be done with hook_node_access_records/hook_node_grants?

πŸ’¬ Support request
Status

Closed: outdated

Version

3.0

Component

- Domain Content

Created by

πŸ‡³πŸ‡±Netherlands BarisW Amsterdam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024