This tag is for questions about relationships used with the Views module.

learn more… | top users | synonyms

4
votes
0answers
35 views

How to expose the data stored in serialized fashion in the relationship of Views?

I have a table is the database, structure of which is function suggestions_schema() { $schema['suggested_users'] = array( 'description' => 'Suggested Users', 'fields' => array( ...
0
votes
0answers
10 views

How to show content view mode for related taxonomy term? [duplicate]

I have a taxonomy term with an entity reference field to a product content type. I've configured the CT's teaser view the way I want it, but now I'm stuck on how to use that view mode in my taxonomy ...
0
votes
1answer
33 views

Content from the same content type as the current user

I have users with a "field_org" entity reference (multiple values allowed) to the "Org" content type. I also have a "field_org" (single value) in my "Article" content type. When looking at a user ...
0
votes
0answers
16 views

How do I rewrite results distinctly in a field set to show all results in multiple field settings?

I am creating a view to list schools. And each school can have multiple teachers, which I want to display like this: Metropolis City High School - Clark Kent, Bruce Wayne Smallville Middle School ...
2
votes
1answer
27 views

Views with relationship of taxonomy terms

A node (Content 1) has two Tax-Terms (Category-Term 1, Category-Term2). The current relationship contains following entry: term from field_category and it's grouped via field_category. How is it ...
0
votes
1answer
36 views

How to display blogs related to particular taxonomy term name

I am creating blogs in my site. I have categorized the blogs by using taxonomy terms. I want to display these category names in right side view as a block, and when user clicks on the name, views ...
0
votes
0answers
26 views

How do I show a list of user that don't have an article created for a specific year?

I have a strange query with views in Drupal 8. How do I get a list of users that have not created an article nor any other content published in a given year (2015)? I've been wrecking my head ...
1
vote
0answers
10 views

How can I achieve a mutli-level sort of a field that is being pulled in via a relationship from multiple content types in Views?

I have a content type called Session which uses the Inline Entity Form module to create/entity-reference three other content types: Material, Audio Archive, and Adobe Connect (AC) Archive. In the ...
0
votes
0answers
63 views

I need a link from base table to join table

I have built several views beginning with the join table and then creating a relationship with an entity via the reference in the join table as follows: content: type (=PersonStory) which is the join ...
1
vote
1answer
26 views

Commerce Line Item Taxonomy Reference Filtered by Product Selection

Here's the scenario: I'm selling furniture. I have a chair we'll call Mission Chair. The Mission Chair comes in oak or maple, both are priced differently. I have a field in my product I have a ...
1
vote
1answer
53 views

How to use multiple reverse relationships from different content types in a single View Drupal 7?

i have three content types 1- News 2- Articles 3- Press Releases On every content type we have a custom field called 'industry'. so when we create a news (or article or press release) we fill the ...
1
vote
1answer
42 views

Facing Repetition in records when I use multiple relations in Views

I am trying to use views fetch the News and Articles for display on my custom content type "Industries". On Industries content type I have node reference fields to the News and Articles content types. ...
0
votes
1answer
31 views

How to hide taxonomy terms with no content

How to display only those taxonomy terms that have content? Can this be done with the help of relationships or contextual filters?
0
votes
0answers
43 views

Related Content View using Entity Reference Fields and Taxonomy Depth

I would like to display a "Related Content" block on nodes of type Car when the content being viewed shares the same Entity Reference field value of node of type Parts. Content Type #1 - Car Title ...
1
vote
1answer
17 views

Combine own stream with flagged user

I am using follow flag latest version and edited the view fbss_ur_stream. I also created a following and followers view with the help of this tutorial Twitter style follow following I took the idea ...
1
vote
1answer
19 views

Filtering Taxonomy term descriptions in Views

I've created a Taxonomy Vocabulary with the name "Remarque prix". I imported it as a Term reference field to Commerce Product with the aim to be able to give a unique Vocabulary term to each product (...
1
vote
2answers
27 views

7 - Views Filter where one field equals Logged in User's Email field

On a custom content type I have created, there is a List(text) field called "Assigned to" that has a drop down selection of certain emails. (E.g user1@domain.com, user2@domain.com, user3@domain.com, ...
1
vote
2answers
57 views

How to get the real sql query of a view?

One of drupal view displays reviews based on a selected event. It should display 3 reviews but instead it displays only 2. It doesn't happen for all the events and only for certain events instead of 3 ...
1
vote
1answer
55 views

Fuctioning of Views Relationship?

I am trying to understand the Views relationship. As I am searching the tutorials, it all described, "When you want to include data which is not directly available Views relationship lets you include ...
0
votes
0answers
7 views

Views contextual filter with special field from registration and profile menu

User registers and for each user there is special field where he must write PROFILENAME. Value from this field is used in creating all content and links that user creates so we have: example.com/...
1
vote
0answers
21 views

View of Quiz questions Grouped by their Quiz?

How do i build the following View configuration: Group quiz questions by their assigned Quiz Display Quiz title above each grouped list Display only One question per group and link question to the ...
3
votes
2answers
69 views

Related Content View with multiple Entity Reference Fields

I am trying to create a View to display related content based on shared taxonomy terms from multiple vocabularies. For example: I have two content types called Car and Parts. I have two ...
0
votes
1answer
28 views

Taxonomy term reference field from custom database table

I am trying to create a taxonomy term reference field or the equivalent in a View that uses the uuid of a field in a custom table. This field can contain multiple uuids. My first approach after ...
1
vote
0answers
25 views

Creating a View of Only Childless Comments

We have a support system in which one user can request help or insight from another user by selecting that user from a dropdown list, which is an additional field in each comment. I am attempting to ...
0
votes
1answer
68 views

How to compute and display value of some fields?

I'm facing the issue but not found the way to resolve. is there any way to help me this. The issue is that I want to display the total value (included sum and get percent, etc) of some fields depend ...
0
votes
0answers
14 views

Advice needed on structure of content types and join tables (also content types)

Given three basic content types A (Person, e.g. author), B (Story ), & C (Series) where there is an A for every B and vice versa, but some Stories (B) are part of a Series (C) and some aren't. A ...
1
vote
0answers
16 views

Create Content with entities to link to another content's sub entities

It's kind of difficult for me to phrase the question, but I'll still try: My goal is to create several pieces of content that are referencing each other. But one content type has number of entities ...
0
votes
0answers
13 views

Contextual filter on relathion Relationship content

I have 2 content types (article and event) both are attached to one sport (wich is a content type). I try to create a view which get all the content for one particular sport. I know that my filter ...
0
votes
0answers
10 views

How to create a view that displays all entities linking to current entity when using field collections

I am trying to create a view that displays all nodes of type A that reference the currently viewed node (node of type B). The reference is made through a field collection field. Below is a schematic ...
0
votes
0answers
17 views

Entity View Attachments (EVA) with multiple contextual filters?

I have the following content types which are also organic groups; Country (group) Region (subgroup of country) Area (subgroup of region) Neighborhood (subgroup of area) Facilities (subgroup of ...
1
vote
1answer
37 views

Having some conceptual trouble creating a View to list users that have nodes containing entity references

Users on my site can create content by adding a new node of content type 'project'. Projects are assigned to exhibitions through a drop down 'exhibition' field which is an entity reference to another ...
0
votes
0answers
20 views

Create a view with nested relationships

I'm trying to create a view that uses a hierarchical set of multiple relationships. The parent > child relationships are as follows: Festival > Series > Events. All of these are nodes; taxonomies are ...
0
votes
2answers
34 views

How to make a page where two content types are combined

It should be a portfolio website. I'm going to place there information about projects I was engaged in and products I designed. The relationships between project and product nodes are those: --...
1
vote
1answer
24 views

Add a views with fields of nodes added from admin in the user profile

I describe my scenario: the users in their profiles must display a view (views module) with a list of fields that the admin adds each time; I assume that the admin must add this fields from a ...
1
vote
0answers
29 views

Views 8.x fields collection relationship

In D7 views it was very easy to get to a particular field from field collection - by relationship. How about now? I can not see any relationship connected with this collection. I am able to display ...
0
votes
1answer
51 views

How to get vote results from node reference through views?

I have two content types: 1. Restaurant page 2. Write a review page The write a review page has node reference url widget field and also the fivestar rating field. The image attached below will ...
1
vote
1answer
35 views

Display nodes with the same parent node

Let's say I have a Region content type that have multiple entity reference to a City content Type. When I'm on a City page, I would like to display Cities of the same Region as the City page. How ...
0
votes
1answer
35 views

drupal 7 display user info for current user

I need to display name, role, photo of current user. I'm use views, in Advanced settings add Contextual filters select Content: Author uid and in settings of it select Provide default value ,in type ...
0
votes
1answer
36 views

use multi level/chain of entity reference fields to create a list of nodes using views

I have 3 content types: Outline, Chapter and notes. Chapter and Notes have 2 entity reference fields chap_outline_reference and note_outline_reference respectively referring to outline. On the ...
0
votes
0answers
14 views

On referenced node show all referenced node from same referrer with Views

I have a content type called "Services" and a content type called "Services category". Via CER they are connected to eachother. When I'm on a service category I can get all the referenced nodes(The ...
1
vote
0answers
19 views

Display multiple parent Terms of hierarchical Taxonomy

I'm running a Drupal7 installation and have a view where I want to list all parent terms for the chosen child terms of a node. I tried the solution described for this Question but can't make it work ...
1
vote
0answers
24 views

Views relationship based on user viewing node

So this is what im looking to do: I have added a field to my users where they can enter their age in a numerical value. I also have a referenced product which can only show on its referencing node. ...
0
votes
1answer
26 views

Define relationship with a field?

Is it possible to create a relationship based on a field? In a field settings, I want to set the Relationship to be referencing another field. Does this make sense? I want to turn a field into a ...
1
vote
1answer
50 views

Flag state as contextual filter in views

Please help me and provide a little explanation about the following thing: 1) What I have: a content type called "word" a flag for this content type called "learned". a view display with "word" ...
1
vote
1answer
65 views

Views - get Title field from another content type in expose filter

I have two content types: Project and Task. Project has an node reference field of Task - when you create a Task, you add reference to one of Project. I need to create a view of Project and add the ...
0
votes
1answer
29 views

Is it possible in Views to get parent term of parent term all the way up a tree

I'm at my wits end on this. Here's my situation: I have a content type which references a Vocabulary of geographical areas which actually has 6 levels ("Island Chain > Region > Province > City > ...
1
vote
0answers
22 views

How do I expose the fields value while filtering on a Combine fields filter?

I have view with multiple fields, where I have added a combine fields filter, which is working fine. I want to extend this and add option to choose fields for which fields user want to search for.
0
votes
2answers
45 views

Filter a view by a field on a referenced entity

Sorry to be yet another question about entry reference relationships in views, but I can't find the answer in pre-existing questions. Given: the content type "page" has an entity reference field "...
0
votes
1answer
29 views

Establish relationship between two text fields

I am stuck in a strange issue. I have two content types twilio and call recordings. Both content types have caller phone number in common Recording Twilio Now I would like to generate a ...
1
vote
1answer
38 views

show content type fields from user on another content type

I need to be able to show fields from one content type on another. Example: Article: basic title/body fields Author Bio: User information (website, twitter and FB info, email, etc... fields) Trying ...