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

learn more… | top users | synonyms

0
votes
1answer
11 views

Using Views to filter images based on taxonomy of page node

I have many image files with taxonomy associated with them. I have page nodes using the same taxonomy vocabulary. I want to create a Views block that filters the images displayed based on what that ...
2
votes
1answer
22 views

A view that displays content with taxonomy term of current user?

The Setup: A Taxonomy Vocabulary called "School" - During registration, users can choose multiple "Schools" from the taxonomy list to associate themselves with. A content type called "Lesson" - ...
0
votes
0answers
14 views

How to list content grouped by taxonomy term [duplicate]

I have content which is related to two taxonomies but am unsure on how to set up my view. My structure is listed below. I currently have a view setup as as Page with type Term (For Location taxonomy ...
0
votes
0answers
10 views

View based on a shared Entity Reference?

Summary: I am trying to create a view that displays all "Lesson Plans" from a school that the current user is associated with. The setup: Content type called "School". Content type called ...
1
vote
3answers
26 views

How to limit the results of a view with flagged content to the flagging user only?

I have created a view which displays a list of flagged content. I have used the Flag module to achieve this. I have named this page as Bookmarks, and the URL to this page is ...
1
vote
0answers
27 views

Related Content Block with Tags

I have an interesting problem. I try to build some kind of related content block. Sortly, I use tags as a channels/catagories. For example; there is a content like best Spanish football clubs and ...
2
votes
2answers
24 views

Edit tabs missing on Views block

I'm new to Drupal and despite making progress over the last few days I've hit a problem. I've got two custom content types linked with an entity reference. I'm using the Views module to create a ...
2
votes
3answers
64 views

Views - Exposed Filter for 2 Field Collections with Same Fields

I have a content type with 2 Field Collections(both set for unlimited values), they are Author and Editor. Both field collections are using the same fields(first_name and last_name). In a Views that ...
1
vote
1answer
34 views

Help with relations in views [closed]

Have been struggled with this problems for days and I wonder if someone could have a look at it? I have tried me sleepless to achieve a certain table in views between three content types which has ...
0
votes
1answer
24 views

How to relate two similar text fields between Users and Content with User as argument?

Getting a bit mixed up and need help with this. My restrictions are that I cannot use Entity Reference field (or any reference type field) - this is because Salesforce Suite isn't able to translate ...
1
vote
1answer
39 views

Accessing content for a specific node revision via a relationship in Views

A module I've written implements hooks defined by the Field API to provide a custom field for defining references to specific node revisions by storing vids. (The module borrows functionality from the ...
1
vote
0answers
34 views

Get a multiple value listing of related node IDs using Relation module and Views node ID field

The situation The awesome Relation module uses so called endpoints in a dummy field to show related entities to a given entity. Sadly there is (still) no way to (really) decide what field values of ...
0
votes
3answers
64 views

View of users having same taxonomy terms?

I'm running a D7 system where every user has a skills field which is a taxonomy field. How do I create a view to pull users where they have/share same skills (taxonomy id's) with the login user. So ...
0
votes
1answer
29 views

Show list of taxonomy terms, with node's current terms given a class

My goal is simple: to display a list of taxonomy terms (alphabetically), with the terms on the current node being highlighted by a current css class. I've tried using views of taxonomy term, but I can ...
1
vote
2answers
39 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
19 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
22 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 ...
5
votes
1answer
96 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
11 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
65 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
18 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
23 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
33 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 ...
4
votes
4answers
196 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
33 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
1answer
28 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
15 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
31 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
25 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
15 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
19 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
21 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
21 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
76 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
31 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
51 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
60 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
15 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
29 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
2answers
85 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
25 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
24 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
50 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
65 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
52 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 ...