- Issue created by @joro78
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?
Active
3.0
Miscellaneous