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

learn more… | top users | synonyms

0
votes
1answer
6 views

using contextual filters to filter with relationship

I have articles and issue nodes, where every article is related to an issue. I am trying to create a Views block which shows related issues. What I tried was this: I created a view of Articles. I set ...
1
vote
1answer
12 views

Product price not showing up in views without Disable SQL rewriting

I got a Commerce Product set up in Drupal 7 with a content-type Product Display that have a product reference to it. Users have read access to Product Display but not direct access to the Commerce ...
0
votes
2answers
18 views

List of parent nodes with a sublist of child referring nodes on a single content type

I have a content type Article with an Entity Reference to himself. Demo content: Article 1 -> No ref Article 2 -> No ref Article 3 -> Ref to 1 Article 4 -> Ref to 1 Article 5 -> Ref ...
0
votes
3answers
32 views

Relationships between content types and views

I am new to drupal, but have decent knowledge of WordPress & PHP. I am currently building a drupal site where I need to link two content types together and display them on the front end ...
0
votes
0answers
9 views

Drupal 7 + Data (External) + Views - Can't Add Relationship [White Screen + JSON]

I can't add relationships to Views generated by the Data module. I have some external (related) tables I need to patch together for viewing, and linking from other parts of the site. I get a white ...
0
votes
1answer
30 views

Create a Views that displays all unused taxonomy terms

I found this article about how to create a Views to display all active taxonomy terms: https://www.drupal.org/node/770782 I want to achieve the exact contrary: Get a list of all terms that are not ...
0
votes
0answers
13 views

Node view, reference User and Profile2 fields

I am trying to accomplish the following. I have a node view that shows fields based on the nid contextual filter. This I use mainly for formatting purposes. I then added a content pane where I want ...
0
votes
0answers
9 views

How can I use a field, to sort by tags in a view?

I have a content type, "profile", with 3 fields: Title, City and State and I want users to enter in text for those fields each time they use this content type. I have another content type, "event" ...
0
votes
1answer
48 views

Show user content in taxonomy term page

I'm using References module to use User Reference field in Taxonomy Term page. I have added new Term called "Matt's books" with user Matt set in User Reference field (field_user). User Matt has ...
1
vote
0answers
29 views

Views Filter nodes and show referencing nodes

I have 2 content types: HotelPack and Event The HotelPack content type has an entity reference field that references to an Event In the view I want to show all the Events and filter them by Category ...
0
votes
0answers
12 views

Get OG membership from a node, get Users from OG membership, and show content whose User field belongs to the group

I've been reading up on relationships and contextual filters and have managed to figure out the basics, but I'm still a bit confused on how to properly join tables. I am creating a View that will ...
0
votes
1answer
17 views

“Shopping cart form” view breaks after adding a field

I'm creating a website using the Drupal Commerce module. The module implements a view for the customer's cart at "cart/my", listing all the items the customer added to her/his cart. The view used to ...
0
votes
1answer
27 views

Drupal 7 - Anyway to make Facebook Picture take place of User Picture if not available

I am creating a view of users that displays a list of Users with Picture and Name. This drupal install allows facebook users to sign in and automatically have an account created. Their account is also ...
0
votes
1answer
32 views

Duplicate Results in View with OG Relationship

I have a view that uses the OG Relationship "OG membership: Group Content (node) from OG membership", and this relationship is causing duplicates when a person has more than one group assigned to ...
1
vote
0answers
19 views

How to asynchronously execute/render a view using views_embed_view in a template file?

I have the latest Drupal 7 running on a Centos OS. I have a content type named publications which is composed of lets say around 20 fields (i.e. publication title, name, doi, authors, keywords, ...
0
votes
0answers
15 views

Display user manager / membership level in Views OG User groups (OG membership)

I am working with the OG User groups view that comes with Organic Groups, in Drupal 7. With a list of all the groups a user is associated with (member or manager), how do you add a field/column in ...
0
votes
1answer
19 views

How to do it with views?

I have two content types BLOG and PROPERTIES In BLOG, I have an entity reference field called "Related properties" that will point to the PROPERTIES content type. Every BLOG node is gonna have a ...
0
votes
1answer
20 views

Content referencing the referenced content

I've been searching and cannot find a way to achieve this: display content referencing a content that is referenced by the content being displayed. It may be somewhat confusing but I'll do my best to ...
1
vote
1answer
28 views

How to combine two contents of same type and display in views

How to combine two contents of same type and display in views? the following picture will clear my question.
0
votes
1answer
28 views

How to get the URL of the entity reference node?

I'm building a site of course video,one course includes many video clips. I have created 2 content types, one is for the Course ,and the other is for the Video. In the course content type, I set a ...
0
votes
1answer
23 views

How to join three entities in a view?

I have a Drupal schema where I want a view to display node 'item' results based on fields from an associated 'catalogue' node. Each associated 'catalogue' has a 'catalogue_ranking' node which is used ...
1
vote
0answers
30 views

views relationship to field collection field, gives no result for non-administrators

Using a view of field collection items, A relationship to a field collection field works fine for administrators but for other roles like authenticated users or anonymous users, the complete view is ...
0
votes
1answer
48 views

Add taxonomy term image to a view

Can anybody tell me how I add an image field of a taxonomy term to a view of nodes with reference to the vocabolary? I have a content type called "Product" and one called "Distributors". And then a ...
0
votes
1answer
14 views

Running an “is all of” filter on a field collection [closed]

I'm currently working with a field collection lets call it Certificates. Certificates contains the following fields... Certificate Type, Certificate Number, Expiration Date, Etc. I have a content type ...
0
votes
1answer
38 views

Show relationship summary using Entity Reference

First question, hope I can get some answers. I have this information schema: Books: Title and Author (Entity Reference field to Books content type) Author: Name and Books (Entity Reference field to ...
0
votes
2answers
37 views

Can I show email Id entered by user to the visitors?

Suppose When a user doing the registration, site will ask that "Do you like to show your email ID?" If the user selects YES then the site will show his email ID and if it selecet no the site will not, ...
0
votes
0answers
37 views

Views exposed filter: if relationship exists

I have a view with relationships between two entity types. My view is displaying comments. I have also custom entity, which has field reference on comments. How can I make exposed filter, so user can ...
0
votes
0answers
16 views

when using relationships, field from OG is shown, but other nodes disappearing

Case: a view, showing a selection of the latest content: some nodes & some nodes in a group. The nodes in a group are a different contenttype. The view mixes the contentypes. This works fine. As ...
0
votes
0answers
27 views

Two different relationships and one view

I would need to combine two content types into one view. Well this is easy but where it gets more tricky is that other content type would need to user relationship that connects to another (third) ...
0
votes
0answers
15 views

How to stop multiple records returned on reverse node reference

I am using the 'references' module and the 'views' module (D7). I have two custom content types - 'Universities' and 'Courses'. The Universities content type has a custom field (field_courses) which ...
0
votes
0answers
15 views

how can i send a parameter to drupal view thru session?

i am new to Drupal and views. scenario: i have a view which uses a group entity for a logged in user. there are two users type "admin" and "customer" both sharing a view. with filter criteria as ...
0
votes
2answers
47 views

List content referenced to another content type

I'm creating a simple site which has shows and episodes. I have created both content types and I added the entity reference field to the episode type. The episode would reference a show which it ...
0
votes
1answer
55 views

Views Exposed Filter Sort on Entity based on Term Reference Field from Entity Reference Relationship

I've been playing around with Views exposed filters on an entity. I have so far been able to create a relationship to another entity through an Entity Reference, and exposed the fields belonging to ...
1
vote
2answers
53 views

display the entities that are referencing the current entity with views

I have a content type "reservation" and another "room" this is a simple booking app that Im making from stracht "just for learning purposes" Im using entity reference for make the reservations, so I ...
0
votes
1answer
48 views

How to show the number og members views members views

How do you show the number of members in a group using views please? I had a look at this post bu unfortunately the relationship have changed in drupal og 7.2 How to show the count of members that ...
0
votes
1answer
33 views

Show users pictures who have flagged a node

I have a event node and a flag to join the event. I want to show the user pictures who have flagged "Join event" This is what I have done so far 1.Created a Node View 2.Added a relationship Flags: ...
0
votes
1answer
39 views

views with multiple contextual filters - should return data only when both or any one filter is present

Views of content is having two contextual filter. For some reason node object is available to views so it is passing through url's 7th argument. 1.Content: Has taxonomy term ID Configuration: Php ...
0
votes
0answers
31 views

D7/Views3: Filter “Parent Nodes” by “Child: Author ID” while still displaying Parent Nodes that don't have Children

I'm able to successfully create a view of parent nodes with referenced children that is filtered by "Child: Author ID" through a "Referencing entity" relationship. My question is would it possible to ...
0
votes
1answer
40 views

Drupal Views Non-admin user permissions

I have a view that seeks to find users that have not filled in a form on the site which is a personal profile. It works correctly for admin user, but not for other user roles although the permissions ...
0
votes
1answer
41 views

Displaying uploaded files in jCarousel

Preface -- I'm a newbie with drupal and have watched too many youtube flicks on jCarousel and slideshows. So totally confused. My question: I've created a web form in drupal 7 and would like to do a ...
0
votes
1answer
36 views

Exclude content referenced by content whose author is current logged in user

I try to solve question - answer scenario with views. 2 content types: question and answer. (answer is connected to question by entityreference) User can check themes of interests (taxonomy) in ...
0
votes
0answers
42 views

Drupal Product Display List view- selecting image from variation with lowest delta

I am currently trying to set up a catalog listing for commerce product display nodes. Each display has several selectable product variations referenced. Using a T-Shirt example, think all shirts ...
0
votes
1answer
34 views

Filter content in view by user field

I'm having problems filtering a view. This is my case: When a user registers he has to select some suppliers of a list (This is a term reference as a field of my user). A user can also create a ...
0
votes
3answers
29 views

Create a view pulling in content that matches user profile

Im am trying to create a view that pulls in content that matches to the user. This is done with two taxonomy fields that are added to the user profile and the content type. These are job role and ...
0
votes
0answers
20 views

Organic Groups - How to create view to fetch groups with nested relationships

I have three types of groups: Main group Course (which is a child of Main Group) Tutorial (which is a child of a Course group) I want to create a view that will pull in all tutorials that belong ...
1
vote
1answer
66 views

How can I show the root taxonomy term in a view field in Drupal 7?

I have a view with a taxonomy term field called Location in Drupal 7 and I want to show the first / root level of the term hierarchy in each view item field, aka the Country level. My Location field ...
0
votes
1answer
31 views

Use entity relationship to exclude records on view

I have a content type, lets say PRODUCT I have another type, PURCHASE, which points to PRODUCT with an entity reference It is simple using views relationships to get PRODUCTS that have PURCHASE ...
0
votes
1answer
14 views

Is there a way to resolve a list of references in a view without cloning entire rows of data?

I'm playing around with the drupal views and reference relationships. I have an entity of type A that has a reference to entity of type B, and a list of references to entities of type C. Reached this ...
0
votes
2answers
40 views

Can node refferences be automatically resolved in a view?

We are using drupal for data management for a web application. We're using the web-service api to get data from drupal views and use it on our app. We are completely depended on views fetched via ...
0
votes
0answers
23 views

Views relationship from nid to gid

I currently have a content type that is keyed by its organic group's gid, but I am trying to make a contextual filter based on nid. Is there is relationship to get the gid from the nid directly? I ...