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

learn more… | top users | synonyms

0
votes
0answers
5 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
21 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
22 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 ...
0
votes
0answers
16 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
22 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
0answers
19 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
24 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
0answers
15 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
12 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
16 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 ...
0
votes
0answers
17 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
21 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
37 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
28 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
17 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
20 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
37 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
22 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
31 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 ...
0
votes
0answers
32 views

Show nodes of other content type that share a common term (with depth)

I have two content types: sector and product. Both share terms from the same vocabulary, called branch. A sector node should list all product nodes that share the same term(s) (from the branch ...
0
votes
1answer
17 views

Displaying content from an entity reference in a view

I have a node type, Medical Group, that has an entity reference field (field_accreditation) to another node type, Accreditation. I would like to create a block to display on each Medical Group page ...
2
votes
2answers
48 views

Entity reference get all related items in a view

I'd like to have a view block on my content page that shows ALL related content. ALL in the sense of chaining - if Node A references Node B which references Node C which references Node D, then nodes ...
0
votes
0answers
23 views

Views reverse relationship with groupwise max

In my view I need to show only one (most recent) related entity from the base entity of the view. Specifically I work with crm-core contacts which work with crm-core activity. Each contact has one or ...
3
votes
3answers
105 views

How to create a view using the References module? [closed]

I currently have Two content types: Content Type 1: Videos Content Type 2: Politicians The main Videos content type references the Politicians content type as a way of "tagging" Politicians that ...
0
votes
0answers
18 views

Taxonomy parent and child result and display in views

I Have 1 vocabulary with 50 parents, each having 100 child. (cats, dogs, birds as parents). When I go to /dogs I get list of nodes that are tagged with cats. What I need to get is list of all child ...
0
votes
0answers
24 views

views views_handler_field_date broken/handler

I have a HOOK_views_data() hook and everything in it works except my timestamp field. It's pretty much stolen from webform. Except views always complains about a broken/missing handler for this ...
0
votes
0answers
15 views

How to filter view content by book outline?

How can a book page include a view (as a block) that lists all items of a specific content type that are also part of the book outline and are children of the current book page? This is intended to ...
0
votes
0answers
25 views

How to set views relationship between custom table and user account fields (Drupal 7)

I want a simple view that displays user name, country (from user account field) and Region name to which the country is mapped (custom module/ custom table) Below is the query that works in MYSQL, I ...
0
votes
0answers
14 views

Update Hero image when user changes filter

Struggling a little bit here and I hope this makes sense. I'm putting together a Blog is page generated by a view. The blog posts are assigned to categories (Taxonomy Terms). I've added a contextual ...
0
votes
1answer
24 views

view list on user profile, to show content of that user

I currently have a view that shows on the user profile page (as a block). I got it to show results of the content for the current logged in user. This works great for normal users as they will only ...
1
vote
1answer
33 views

Display Content with Taxonomy on User and content matching with Multiple Vocabularies

I am trying to create a view to show content that is tagged with taxonomy terms from the users profile (each vocabulary has its own field in the users profile where the user can select via check boxes ...
1
vote
0answers
14 views

User relationship ignored in autocomplete entity reference view

I have a content type called "games". I also have a rol for users named "players" and another "trainer". Each player and trainer has a "team" also. This is very simple: when the user (a trainer) adds ...
2
votes
1answer
65 views

How to display an individual list of user created nodes?

I'm having a block on the front page with a list of users displaying their profile fields like: picture, full name, e-mail etc. I achieved this by simply creating a User View in Views displaying it as ...
0
votes
0answers
17 views

Views and relationships for the race result listing

I am migrating a static runners page to Drupal, most of it are race results. I'm thinking to create content types for the race result and for the event (so I can reuse it for announcing events) and ...
0
votes
0answers
25 views

Secondary Views Relationships from Webform Submission Values?

I have several public webforms which capture a uid as a type hidden field populated via URL. I've created a view to search for and review submissions and I'm able to filter on the submitted uid using ...
0
votes
1answer
44 views

Flag, flag link ang flagging - create advance relationship

On my site I have two content types: event – with node flag “Attend” and Entity Reference field band And flags: “Attend” – node flag - with Entity Reference field “Accept” – flagging flag – ...
1
vote
1answer
98 views

View by Taxonomy terms hide empty terms unless they have children

I am trying to get my views block to display terms under this parent term but only show the terms with nodes in them. I managed to get this to work by using the relationship content with term and ...
0
votes
1answer
25 views

Paging issue in views when implements node access

I have created a content type called Details it is the collection of employees detail. And also I have created a Taxonomy terms called manager, employee, lead. Also I have created a field(as Taxonomy ...
1
vote
0answers
25 views

Drupal View Show Webforms NOT Submitted By Logged In User

I'm hoping someone can help me out with this because I have been stuck on this for days... I have a bunch of webforms that each user needs to submit. I figured out how to show a view of the webforms ...
1
vote
1answer
32 views

How do I use a referenced entity in a Views contextual filter?

I'm building a media server for my university. I have an "artist" content type for each performer, and then a 'track' content type for individual track (there are no 'albums', BTW). For each track, ...
0
votes
0answers
14 views

Entity reference multi level links in Views

I have 3 content types Speaker, Sub-category and Category. On the Category detail page i would like to put a block-view with a contextual filter to show Speakers linked to that specific Category, but ...
0
votes
1answer
29 views

What does it take for field in an entity to be able to be used in cotexetual filter, or relationship?

I am using a view for an entity. I had it working until I changed the cardinality of a taxonomy field. Now that field is no longer available for relationships, or contextual filters. Every other ...
1
vote
0answers
26 views

How to compare two user from relationship in views

I have a view to display the contents that a user bookmarked. Here we have three users: the author of the content (uid from a relationship), the viewed user (uid from arguments), the logged-in user. ...
0
votes
0answers
27 views

Created Custom Entity - Create Views Relationship to Node Content Fields

I created a custom entity called Office. And currently have a content type called Work. In a Work content type I have a field that is called Assigned Office. Whenever I create a new Work I pick an ...
1
vote
0answers
20 views

Related nodes via entity reference connected to an entity reference?

The Setup: Three content types: Lesson Plan School District Via entity references, "Lesson Plan" nodes reference "School" nodes, and "School" nodes reference "District" nodes. The Challenge: ...
0
votes
0answers
14 views

Create a views block that lists taxonomy terms from current node?

How would I create a views-based block that lists the taxonomy terms from the current node? In other words, I want a sidebar block on a node that lists that node's terms. I'm struggling with the ...
0
votes
0answers
8 views

Reverse Entity Count Lookup in Views?

I currently have a custom entity called Offices which shows up on the admin content creation page as "Office" and I also have another content type as Work. And in Work I have a select box where you ...
5
votes
4answers
116 views

Creating a view that uses fields from two content types

I'm reeally struggling with this one. I just can't seem to wrap my head around the way Drupal and Views handles this pretty simple thing... I have two content types: Card Card Content Card has ...
1
vote
1answer
41 views

Using Views to filter images based on taxonomy of page node

I have many image files with taxonomy associated with them. I have page nodes using the same taxonomy vocabulary. I want to create a Views block that filters the images displayed based on what that ...
3
votes
1answer
32 views

A view that displays content with taxonomy term of current user?

The Setup: A Taxonomy Vocabulary called "School" - During registration, users can choose multiple "Schools" from the taxonomy list to associate themselves with. A content type called "Lesson" - ...