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

learn more… | top users | synonyms

0
votes
2answers
17 views

Show blog author info (related content)

I have two content types. Blog and Author. On Blog content type I have entity reference field (blog_author) where admin can find author of the blog (Author content type). Now I have a view that is ...
0
votes
1answer
22 views

Showing latest news article from taxonomy

I have News content type on my Drupal 7. With views I want to show latest news within specific taxonomy. So each News content type has taxonomy field where I can set news for example into "Cars" ...
0
votes
1answer
17 views

View Preview Correct , Actual Page Not

I have a block view that I am placing in every page containing the content type "class". There are several "lesson" content types referencing it through entity reference "field_class". I want the ...
1
vote
0answers
7 views

How to create a View that shows flag fields and the number of times flagged per field

The idea is as follows: I have a site where articles are evaluated with 7 labels. Authenticated users (not only the author) must be able to select a number of labels they want to apply to the article. ...
1
vote
0answers
6 views

How to always get distant ancestor reference when loading descendent?

I have a fairly large website with some complex relationships. One such string of relationships looks like this: region > counties > cities > locations > contacts Each level is the name ...
0
votes
1answer
17 views

How to combine two nodes based on common title in Views?

I have a Commerce site selling clothing. Some Product Displays have multiple Commerce Products associated with them, and some have only one Product associated with them. For example... Shirt - Large ...
1
vote
2answers
12 views

Filters and relationships data from a display to another within the same view

Hi everybody, I've been freshly introduced to Drupal and I'm having my first "serious" issue with contextual filters and relationships. Here is the context : I have a "process" content type and ...
0
votes
0answers
31 views

Display related nodes with taxonomy hierarchy in a View

MY taxonomy is set up like: * Parent term * Child term I have a content type with a term reference so they can select the term it is associated with. And I need a view that displays a result ...
0
votes
1answer
10 views

How to theme a view that displays content from a relationship?

I have a page for Organization. Each organization has a Featured Person field which is an unlimited node reference to the Person content type. The organization can have many featured people. I also ...
0
votes
1answer
13 views

Expose roles to views

I am using the role reference module (https://www.drupal.org/project/rolereference) to allow me to add roles to a content type. For some context, in my case we are managing policies. The policy ...
0
votes
0answers
21 views

A view with research limited to a category (taxonomy)

I've a taxonomy which forms categories and subcategories. For each node, one of these category terms (vocabulary: categories) should be choosen, as well as other terms like "intelligent", "stupid", ...
0
votes
0answers
12 views

Taxonomy term field relationship content duplication

I am trying to generate a views table that looks like this (taken from another Drupal site): "Categories" is a taxonomy where each term has an image field. I created a relationship with the category ...
1
vote
3answers
95 views

Search API Referencing entity relations

I am working on a project where i would like to be able to create a search api view that has a relation to the referencing entity. The use case: I have a content type: Products page that holds the ...
0
votes
0answers
29 views

Views: relationship between tables in two different databases

I've a View that shows data from an external database I want to show also data of another table (from the default drupal db) that has a logical relation (like a foreign key). The databases are on ...
2
votes
1answer
56 views

View filter by nid via relationships

I have a content type Project with an entityreference user field field_project_team where you can assign users to the project. I also have a content type Task with an entityreference field ...
0
votes
0answers
25 views

setting a contextual filter based on a field collection in a view

I'm creating a simple application that is used to create some Contractors and some Projects, and what I want to do is displaying on the Contractor's detail page the list of projects the contractor ...
0
votes
2answers
23 views

How to make a block showing the content entity the author of the node is linked to?

I cant seem to wrap my head around this so i hope there is somebody that can help. I have a 'business' content type and a 'information' content type on my page. The author of the business is the ...
1
vote
1answer
30 views

Drupal 7 Contextual Filter / Relationship

I'm having difficulty with setting up a view in Drupal 7. I'm going to use a sports example as a way to illustrate my problem: I have three content types: 1. Team 2. Roster 3. Player On the ROSTER ...
0
votes
2answers
27 views

Can relationships be used to show Content and linked content in the same view

I'm trying to display content in a view and, beneath each entry, show a teaser of other content to which it is linked via Node Reference. Here is roughly what I'm trying to show in my View: ...
0
votes
0answers
63 views

Debug: 'Handler views_handler_field_node_revision node could not be added!'

i have a problem when i try to create a task on ERPAL, i have this message Task toolerp has been created. Debug: 'Handler views_handler_field_node_revision tried to add additional_field ...
0
votes
0answers
12 views

Views relationship not been added by code

Im trying to make a abandoned cart notification module, trying to relate my notification table with the commerde_order table by its order_id in views. Right now i have this in my hook_views_data ...
0
votes
1answer
26 views

Views: Get nodes of last added Node Reference

I'm working on a online magazine in drupal. I have one content type called issue with one field, the title field. And I have a content type called article the default drupal content type with a node ...
0
votes
1answer
34 views

View: Recent posts all users

I'm working on drupal 7 with Views 3.8. I'm trying to make a view with one post(most recent one) of all users of my site. I found out via this forum I can make a view based on all users. I then add a ...
0
votes
0answers
22 views

Rewriting term reference view result using another field in the taxonomy term

I have a view of node fields, including some multi-valued term reference fields, and I’m trying to figure out how to substitute the value of a field that’s part of a taxonomy term for the taxonomy ...
0
votes
0answers
16 views

Change Commerce 'add to cart' attribute based on referring link

I have an ecommerce website selling books. The books are all the same product type, but they contain a field that uses a taxonomy term field to declare what format they come in - ebook, audiobook, ...
0
votes
1answer
27 views

Views: list all nodes based on relationship

I have a datastructure where "Courses" has many "Activities". I've accomplished this by using entity reference to add a course_field to the activity content type. I am pretty conused, however, as to ...
2
votes
1answer
61 views

Views Filter by Field value (content type A) = Field value (content type B)

I am getting exhausted trying to filter views by matching 2 fileds value from 2 different content types. For Example: Content Type (Employee A), with the following fields: ID (integer) Name phone ...
0
votes
1answer
33 views

Rewriting a field in organic group member view

I am not sure if this is possible.. My organic group 'member view' filters all the members of a particular group. I have created the view so that the first member gets listed in a sidebar to become a ...
0
votes
1answer
20 views

relation users to orders

I want to create a list of users with their orders. I know I can create it with the Views module, but when I select user as view type, there is no relation I can use to get their orders. Some users ...
0
votes
0answers
18 views

How to Summary Lists?

Posted by pennyc on December 14, 2014 at 3:21pm I've created a View over a summary of my tags using Relationships Content: Taxonomy terms on node Contextual filters (term) Taxonomy term: Name and ...
2
votes
1answer
61 views

Make a relationship to last element of a Field Collection

I have a View with a relationship to Field Collection (with unlimited cardinality). I need this relationship to connect only to the last element (having the largest delta). How can I do this?
0
votes
0answers
33 views

Retrieving entity data in views with dynamic (per-row) relationship

I have custom entity 'entitystatus' that holds 'entity_id' reference and 'entity_type' field. Now I need to build a view that will display Entity statuses attached to different entity types (i.e. ...
2
votes
1answer
42 views

Sort nodes based on referenced node

Im pretty new with advanced views and references module (Drupal 7). Im seeking for some help. I would like to sort nodes based on node post date of the nodes that references it. So I have node type ...
0
votes
1answer
50 views

Show related Content type content in block filtered by category

I have a Content Type called "All Documents", this uses a Category called "All Categories". Within "All Categories" I have multiple sub-categories eg "Sales", "Parts" and "Service". I have a block ...
2
votes
3answers
583 views

Other (related) nodes with the same taxonomy block grouping problem

Quick view: I want to create a views block that lists all other nodes that have the same taxonomy term(s) and I want to group the related nodes by term. I have trouble while doing this: The ...
0
votes
0answers
11 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
32 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
32 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
226 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
72 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
111 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
10 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
24 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
23 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
26 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
1answer
71 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
18 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
106 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
50 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
148 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 ...