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

learn more… | top users | synonyms

1
vote
1answer
31 views

List of content types posted/commented by users I follow

I'm running a D7 system Where users can follow each other using 'Follow' flag on user's profile. Now I've been assigned a task to come up with a view where I can have a list of content ...
0
votes
0answers
15 views

Custom entity api development adding a revision to entity lead to broken views handlers

(note: see extra info at bottom) I have a chain of entities which were joining together in Views nicely by defining their relationships as joins in hook_views_data_alter (note - I had actually used ...
2
votes
1answer
21 views

Views: Relationship with filtering?

I have a content type shortcut with the fields field_namespace and field_active. Additionally, I have a Taxonomy term vocabulary named namespace that is used in field_namespace. Example content: ...
0
votes
0answers
7 views

Showing upcoming events with same taxonomy as that of article

I want to display a block on the article page which would contains upcoming events. I want only those events to appear which has the same taxonomy term as that of article, For example: An apple meet ...
4
votes
1answer
75 views

Group items in Views by value in Field Collection

I have a content type (content type X) containing a Field Collection field. This Field Collection field consists of a Node Reference (content type Y) field and a text field. I would like to create a ...
0
votes
0answers
10 views

Converting referenced product into product display node?

I have a content type of "Product of the week" where an admin will choose 3 products and save this, from here a view pulls in the following information: FILTER CRITERIA: Content: Type (=Product of ...
2
votes
1answer
62 views

Views - unable to sort by term weight within multiple term reference

I have two taxonomies, Menu and Menu Category. Menu has a term reference to Menu Category, allowing multiple selections. I have a view that displays a Menu, and in this view I'm displaying the ...
1
vote
1answer
16 views

views project management module

I'm having a hard time understanding Views and Entity Reference in the context of the Project Management modules. I have created Project and Task Content types. For each of the Tasks I have chosen a ...
1
vote
1answer
20 views

Couldn't avoid duplicates and merge rows on my views

I have a view of list of contents referenced in many others content types in my site. Lets talk about just 2 content types : A content type called container is referenced in a content type position, ...
2
votes
1answer
30 views

Is it possible to understand and use Relationships and Contextual Filters without knowing SQL?

Are there any good, layman descriptions of contextual filters and relationships for those site builders that aren't developers? Is it possible to be comfortable with Relationships and Contextual ...
0
votes
0answers
9 views

Display nodes which are also part of relationship

I am trying to create a website which can store family information. I have a created a contact node type using cck which store family records such as name, birthday etc. Currently I have four records ...
5
votes
4answers
164 views

When do I need a contextual filter vs. a relationship?

Can someone explain the functional difference between contextual filters and relationships? I understand that a relationship is a table join, and a contextual filter is passing parameters to the ...
1
vote
0answers
30 views

drupal rate module + entity reference module

Here's the situation: I have a content type let's name it "Gallery". I also created a "Photo" content type, then added a "yes/no" rate widget to this content type. (c) In "Gallery" I have an entity ...
0
votes
0answers
20 views

View which filters based on URL matching field value

I'm trying to create a view for solr search results, what I'd like to do is have have a page in the view each of which pull data from the same set of results but filter them based on matching part of ...
0
votes
0answers
13 views

Help with View - relationship with taxonomy

I'm trying to create a relationship between a field on a user profile and a field on a content type. The fields are taxonomy terms User Profile Genre - This is an taxonomy that pulls names from a ...
0
votes
0answers
22 views

Add block fields as contextual filter in view

Is it possible to add field from block into contextual filter? There is a custom block listed on front page containing three drop down select list fields depending to one another. First field ...
0
votes
0answers
23 views

Contextual filter

I am creating a view-block with Company Name in which i am exposing the taxonomy term fields (Company, Location, Category) using Autocomplete ,,, now i also creating an another view (Location) in ...
0
votes
0answers
14 views

Custom views relationship

I have a problem with a pretty complex custom views relationship. The scenario: I have nodes that have a field field_revision. This field has the same value for nodes that belong to the same ...
0
votes
0answers
18 views

view attached to a field collection filtered by taxonomy term in fc

I have a field collection with a reference to a taxonomy vocabular. And I have a view, attached as EVA field (or even a block) to this field collection. The view displays nodes which have a reference ...
0
votes
1answer
20 views

Flags to create mutual friends?

I'm running a D7 system where users follow each other by using a 'follow' flag and then on user profile I've added a view to show all the users followed by a 'logged-in-user'. What I'm struggling ...
0
votes
1answer
25 views

How to make a relationship to two views

I am creating a website in which i am already created two view (1. Category 2. Location) , now i am created the taxonomy for Location and in Category view I am exposed the Location Taxonomy,,, and in ...
0
votes
0answers
14 views

entityform view filtered by current user field (term reference)

I have an entityform type that uses a term reference (department). This term reference was also added to user accounts. I'd like to make a view that displays the form submission for the same ...
0
votes
1answer
58 views

Views Contextual Filters and URL Aliases

Forgive me if this is a repost, but I have spent days trying to figure this out and everything I have found on drupal.stackexchange and elsewhere have been no help and I am struggling to understand ...
0
votes
1answer
29 views

Views Block Doesn't Show on Views Page

I have a Views Page that displays content from articles matching a particular criteria. That views page works as expected. I also have a views block that is supposed to pull related content from ...
1
vote
3answers
49 views

view with nested relationships

I have 3 node types. A, B and C. A has an entity reference to B. B has an entity reference to C. A has a list field. One of the values is "4". I need to display all node of type C where the top ...
1
vote
0answers
42 views

Views joining/relating a custom table entity to users through a field?

Using Drupal 7 and Views 3 - I have created a custom entity and can view it fine through Views using EntityDefaultViewsController. The Table is a view shared to the drupal database and is constructed ...
0
votes
1answer
12 views

How do I set a custom path for feeds feed items in views?

Update I tried doing what Nikhil and the referenced threads said, but I'm still have trouble. I should have been more clear initially on what the problem is. When I go to ...
0
votes
0answers
24 views

Getting different results for admin versus non-admin user on view when there is a relationship

I have a view that shows the two newest articles with specific taxonomy rules. We got a new requirement to now exclude articles that are linked via entity reference. So I added the relationship for ...
1
vote
1answer
27 views

Relationships in Views always 4 results also if no reference for the field

I have two content types : meals wine In my content-type "meals" I have a entity reference to "wine". Now I wanna create a views to show all meals, with a reference to wine. I have create a ...
0
votes
1answer
68 views

Views block with the terms referenced by a node

I've got a working email notification system built with flags and rules. The missing part in my puzzle is how to create a Views block showing the Flag links of the terms I've tagged a node with. ...
0
votes
1answer
21 views

Display file description in view using Download Count

I have created a view to display my most download files on the site and allow users to download them, to do this I am using the download_file and download_count modules. The view should display a ...
0
votes
0answers
22 views

Helping with a view - Users/Taxonomy and relationships

How to create a relationship between a user with a taxonomy term and content that has that same term. User Profile Field: Genre - This is an taxonomy term. Product Field: Genre - This is also a ...
3
votes
2answers
45 views

Help with a view - relationship

I'm trying to create a relationship between a field on a user profile and a field on a content type. User Profile Company Name - This is an entity reference that pulls names from a Company content ...
1
vote
0answers
37 views

How to properly add a second join in a custom Views relationship handler?

I'm developping a Drupal 7 module that allows text fields to reference entities that have a title / name matching the field's text value. I have successfully exposed Views relationships for these text ...
0
votes
1answer
12 views

Views: Output field as a link with URL provided by another field?

So I have a content type with fields: image_field and url_field. The view displays the field_image for all items. Now I want the user to click this image and go to the link in url_field on the same ...
0
votes
0answers
39 views

How to list content from organic groups that current user administrates

I'm looking to list events from Organic Groups that the logged in user is an admin for: Very similar to the "OG all user group content" view that comes with Views, I've got a view that shows OG ...
0
votes
1answer
14 views

Show content of type A in content of type B based on shared taxonomy term using views

I want to show content of type A (products) in the middle of contents of type B(Producers), however I do not want to use Node reference since it's an overkill to make it happen with lots of products. ...
0
votes
2answers
23 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
33 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
25 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
13 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
7 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
29 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
16 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
51 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
15 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
21 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
22 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
19 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
4answers
211 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 ...