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

learn more… | top users | synonyms

0
votes
0answers
7 views

Show all mutli-axis votes by a user for a specific node in a view

I have two voting tags for fivestar, validity and difficulty. I have a content type of items having attached these two fivestar fields, field_validity and field_difficulty, both set to rated on view. ...
0
votes
1answer
14 views

Custom Views Relationship with Custom Entity

I have custom entity with just a base table and it is referenced with the node with its field field_a. Now I want to create the relationship between these two entities (node and my custom entity). I ...
0
votes
1answer
15 views

Having each child record inherit (display) data elements from a parent record

I'm new to Drupal and have been watching lots of videos on entity relationships but am a bit lost still....trying to wrap my head around the differences between nodes, entities, etc. and how to define ...
0
votes
1answer
21 views

Display related content in view by entity reference in views drupal 7

I want to show related content title in block view by entity reference. I have created two content type 1)Hotel Type 2)Room Type. Room Type have field_hotel which references to Hotel Type. How cant ...
0
votes
1answer
20 views

Show only nodes that are connected via entity reference with views

I am trying to create a simpler version of Organic Groups as I don't need most of it's functionality. What I am trying to do is use entity reference, nodeaccess_userreference and ...
0
votes
1answer
15 views

View with relationship in field collection

I have a contentype „roomtype“ with the fields „title“, „image“ and „text“. And i have a contenttype called „pricelist“ containing a multivalue fieldcollection which contains the fields ...
0
votes
0answers
9 views

Managing relationships for a view

So I have kind of the following model, I created content types for Departments, Areas and Publications. An Area belongs to a Department, and also a Publications belongs to a Department. So in ...
0
votes
0answers
10 views

How do I relate a text field from a node to a Commerce Order?

I have a View displaying content 'X'... it has a text field called Order_Number, which may or may not contain a value which would reference the order_number field in a Commerce Order. I would like to ...
0
votes
0answers
17 views

Passing field value

I'm quite new to Drupal, but very surprised with things I can do with it. My current project is surely done with D7 due easy user management and organizing the data gathered with views module. Now ...
0
votes
0answers
18 views

How do I show a list of users who share similar taxonomy terms indicated on their profile

I am trying to create a Drupal 7 user listing view that will show a block of users who have selected exactly the same term name from a single vocabulary that has a list of names as its terms. My ...
0
votes
0answers
24 views

Drupal Views - Calendar Display multiple entity references of logged in user

So, I have a view that is a calendar view. I also have a user account with fields added to the user. They are both entity reference fields for a content type of Procedure and Pre-Op. Both of those are ...
0
votes
1answer
33 views

Use product entity field as filter in Views

I have a product (type: "lamp") with a text field called "power". On the Product display node ("showcase") i also want to see a block made with Views. It must show three other products of the same ...
0
votes
1answer
16 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 Articles. This block should show on on the Article node page. What ...
1
vote
1answer
23 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
23 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
44 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
19 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
34 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
20 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
65 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
30 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
22 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
24 views

“Shopping cart form” view breaks after adding a field [duplicate]

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
34 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
45 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
24 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
23 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
20 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
22 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
30 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
33 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
26 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
31 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
53 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
16 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
42 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
38 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
46 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
17 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
32 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
16 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
53 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
70 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
58 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
51 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
39 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
53 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 ...