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

learn more… | top users | synonyms

0
votes
2answers
18 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
32 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
5 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
21 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
21 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
7 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
8 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
17 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
36 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
27 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
16 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
17 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
42 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
29 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
20 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
169 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
22 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
21 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
58 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
41 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
43 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
13 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
19 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
21 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
53 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
42 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
41 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
77 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
37 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
45 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
34 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
78 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
32 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
34 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
40 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
45 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
50 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
43 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
46 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
23 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
35 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
53 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
32 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
34 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 ...