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

learn more… | top users | synonyms

0
votes
0answers
8 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
15 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
11 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
0answers
35 views
+50

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
17 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
52 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

How can I show the revision content in Drupal view block

I have a node say "homepage". Whenever I edit and save this node, it redirects to revision page "node/nid/revisions/vid/view" page and shows the updated node view page. My "homepage" node has an ...
0
votes
0answers
20 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
18 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
25 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
26 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
46 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
9 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
25 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
27 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
9 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
12 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
19 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
41 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
29 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
19 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
51 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
31 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
34 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
30 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
267 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
9 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
27 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
26 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
89 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
52 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
73 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
15 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
20 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
23 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
63 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
61 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
42 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
106 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
55 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
54 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
42 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
85 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
33 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
40 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
49 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 ...