Show related references by Contributor(s)

Created on 14 May 2025, about 2 months ago

Show related references by Contributor(s)

We want to show the related Bibcite references by Contributor(s) to a user, when he visits any of them. It is a multilingual Drupal installation and we are setting the language on any Reference and node in order to distinguish them according to the user’s language preference.


Our system and additional modules:
Drupal 10.4.6
Contributed modules: Views Token Argument 2.0.3
Context Filter from Field: 2.0.0

In our case we use nodes to represent the Bibcite references and we return its values (Contributors, DOI, Keywords etc), according to a reference field in the node. Thus the user visits a particular node (content) which uses a reference field to Bibcite Reference.

We want to show other References created by the same author in a block. For this reason we have created a few views, but so far without any success. For instance one of the views is of a content type (biblio), containing the Bibcite reference and relationships to the Reference and to the Contributor. The contextual filters are Content ID (thus excluding the latter and using it for source) the other one is the Reference ID, which we try to retrieve from the Reference field in the node and the third one is the Contributor ID, where we use the Token type context trying to retrieve it from the Authors (Contributors) in the corresponding Bibcite Reference. In any Reference we see the IDs of the Contributors but for some reason we cannot set the correct context in order to show other References (resp. content title) by the same Contributor (s).

We have tried this approach with a views of Bibcite References and Contributors, again setting relationships and contextual filters, but with no luck. We have to mention that the Contributors are not site users. We are adding them without any relation to Drupal user.

Could someone please give us directions or share an experience in order to achieve the goal?

💬 Support request
Status

Active

Version

3.0

Component

Miscellaneous

Created by

🇧🇬Bulgaria joro78

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

Comments & Activities

Production build 0.71.5 2024