The Relation module is an API module, and storage model for both simple, and the most complex relations between entities.

learn more… | top users | synonyms

3
votes
1answer
36 views

hook_views_query_alter - need help getting started

I have three node types that I have created relations between using the Relation module. Seaon --> Player --> Week The player node has a numeric field called cost. The relationship between the player ...
0
votes
0answers
15 views

Content types complex relationships

I'm trying to build a system where I have people, departments and facilities but they must link through a triple join table. Basically, a person can belong to multiple departments OR can work ...
1
vote
0answers
92 views

How can I get a relation by the endpoints using the “Fetch entity by property” action in rules?

Short version: I want to fetch a relation by the endpoints. The relation already exists in the database. How can I use the Fetch entity by property action to return the relation? Long version: I'm ...
0
votes
0answers
11 views

How to represent and edit the status of node relations with per-relationship modifiers or taxonomy?

I have two custom content types, call them Location and Goal. I'd like to use something like "node reference" to link all Locations to all Goals with a status. Ideally a matrix of radio buttons, like ...
0
votes
1answer
47 views

Adding extra info to each Node -> Taxonomy Term relationship

We have a basic site with a pages that have a taxonomy term content type associated with a number of terms. What we would like to is to add more information to each of the node -> taxonomy ...
1
vote
1answer
63 views

Relation: add button to create node related to current node

I have 2 Content types called Schools and School News and i want to add a add News Button to those School pages, so editors can create a new post for this specific school. I thought about using ...
0
votes
2answers
60 views

How to implement user enrollment or subscription

I want to create a website with few courses on it. Each course will have a node of content type Course. I want users to be able to enter the course. So this is sort of a "many-to-many" relationship ...
0
votes
0answers
37 views

Relation Module - How do you display fields from the relation for multiple line items?

I've posted this on drupal.org here But I saw in one of your posts (Relation module tutorial) that you encourage people to ask questions as much as possible here and on Drupal so here you go. I have ...
0
votes
1answer
54 views

Which module for relationships in my particular case? [duplicate]

Possible Duplicate: Relation vs. References vs. Entity Reference for managing node-reference-type relationships in D7 I want to figure out which module (and, probably, strategy) will fit my ...
1
vote
1answer
206 views

In drupal 7 how to add a link to a node which creates another node related to the previous being visible only if a user has not yet done so?

I have a node #1 of content type A. If the user equals a certain role AND has not yet done the following, show a link within node#1 saying "create node of type B". If the user clicks this link, he ...
0
votes
1answer
38 views

Related nodes displaying same related data

drupal 7, using views and eva. So i have restaurant nodes and menu nodes, and all menus nodes relate to a restaurant node, now i have a duplicate restaurant node which is just showing an alternative ...
0
votes
1answer
71 views

Need To Update One Entity Through Another

I've been trying every angle I can, but I keep running into Revision ID errors when I try to update a referenced or related entity of another entity. I believe this might be on the right track? I'm ...
0
votes
1answer
109 views

Using Rules to Update the Data of a Relations Endpoints (Referenced Entities)

I have a Rule which triggers on a Relation update. It then checks for the Entity type of the first endpoint of the Relation. Then checks for a specific field. When I try to set an action to change ...
0
votes
0answers
40 views

Accessing Fields from a Relation's endpoints in Views

Ran into this one today, hitting a wall. Here is a Relation I have set up: Worker(entity) --> Works At(relation) --> Company(entity) This Relation works fine. I want to show a View list of this ...
1
vote
3answers
105 views

How to add Follow Me link inside content type in Drupal 7

My project contains two content types:- Professor and Lecturer. Here the users are student so students can log in using their own credentials. Now I want to show up a button/link with Text "Follow ...
0
votes
1answer
289 views

Is there any free LMS or LCMS components / module in drupal that support Scorm standards

I'm starter in Drupal and want to know if there we have strong features for Learning Content management systems continue on Research and deploy a project on it in my company. If the these features ...
1
vote
1answer
64 views

Relation and Entity Share a Field / Reference Each Other

I can't seem to get this to work. I've searched and search, and maybe I'm not using the correct terminology, but I need to add a custom field to a Relation that reads a value from the Entity its ...
2
votes
1answer
44 views

Sharing fields and their data between a user profile and a content type?

I have a content type called "Profile". This is a standalone content type and may or may not be associated with an actual user on the site. I thus need to find a way of sharing profile fields between ...
0
votes
2answers
118 views

Filter view based on several user profile fields (D7)

I’m trying to apply automatically several filters to a view based on the corresponding profile fields selected by the current user. For example, the users can select a favourite color (yellow, ...
1
vote
1answer
53 views

Are custom content types a good way to model the classic entity relationship model?

I have several content types which will store thousands of records each one. Those content types will be related to each other as in a classic 1..N or N..M relationships I would like to query those ...
2
votes
1answer
89 views

How to display user submitted nodes in the node detail view of the same user?

I'm aware of such modules as Relation and Entity reference but I can't figure out how I make automatic relation between nodes that depend on the user that submitted those nodes. Site has users A, B, ...
1
vote
1answer
55 views

How to display a create node form together with a referenced node of a different type

I'm using a content type for Clients and another content type for Tasks. Each client has many tasks and each task belongs to one client. Both types are connected by a reference field defined for the ...
1
vote
0answers
24 views

How to override Relation dummy field theme?

How can I override the Relation modules "Dummy Field" template using a custom module?
0
votes
0answers
7 views

The best way to attach parts of specific galleries to specific content

I have a content type, let's name it "News". I also have a vocabulary "Gallery" with terms, that are specific galleries, related to different events. What I would like to accomplish is: User will ...
0
votes
1answer
30 views

How woud you plan a sector directory with Drupal?

I have to realize a sector directory, a directory of restaurants, bars, wineyardsm, carpenter... So each sector has it's own properties like the menu card or something else. But there are properties ...
0
votes
0answers
84 views

How do i build an album catalogue in drupal 7

I'm looking into creating a music catalogue on my Drupal site, I want to make albums, artists, and tracks. I wondering what the best way to implement this is. Should I create entities for each? and ...
0
votes
1answer
150 views

Relation between field of two webform

I have created two webform as Vendor and Sponsors.There is two sponsorship type as gold and platinum in sponsors and each vendor is sponsors. Now i want to show in Vendor view the type of sponsorship ...
1
vote
2answers
141 views

Re: Relation Module

I have/had been working on a 'self-learning' development project based on a D7 stack and utilsing the http://drupal.org/project/recruit* however the author earlier this year ceased development. I had ...
1
vote
1answer
162 views

How to set relationship when I create a new (custom) content to another (custom) content in Drupal

Premise: I'm new in the world of Drupal, so sorry if this is a stupid question. What I need is to set some relationships for some new content types I created. For example, I created the "Person" ...
0
votes
0answers
20 views

Placeholder string on the tag binding level

I'm about to set up a chemical site, which will have to tag products with tags from Risk vocabulary. That vocabulary will contain tags like "R123" having descriptions like "Not to be used with %1" - ...
0
votes
0answers
14 views

Views: tag_field from teaser node matches tag_field from current_page?

This seems like a very common SEO-type feature. Has anyone made this happen before?
0
votes
1answer
643 views

Relation module tutorial [closed]

I could not find good quality of tutorials on Internet for learning Relation module . Could anyone suggest some links for good documentation/tutorial for relation module ? Thank you .
0
votes
1answer
43 views

Using the API of relations module

How can I use the API and hooks of a contributed module, I am trying to use relations module to add my functionalities using that module but I could not find any documentation that help me to do that ...
1
vote
1answer
534 views

create relation between two nodes using the relation module

I am using the relation module and i don't like the way the default relation blocks work(entity collector and relation add blocks). SO I'm trying to write my own block for creating relation. I have a ...
2
votes
2answers
94 views

Assigning a student to a teacher

I've looked around for a couple hours but am not sure the best way to do what I need. I need to set up a student teacher relationship so that when a student logs in on some pages viewed by the ...
2
votes
2answers
654 views

How do I uninstall the Relation module?

I am trying to uninstall the modules that are part of the Relation module, after I tested it on my test site. The Relation Endpoints Field module is not selectable because Drupal says the field ...
4
votes
5answers
529 views

How can I create bidirectional node references?

I want to have a node reference for a content type. I have two content types A and B. I want to reference content B from a field in content type A. In the same way I want to refer content type A from ...
0
votes
1answer
48 views

How can I create a friendship that must be approved with the Relation module?

I'm trying to learn how to use the Relation module. The Node One Screencasts are very helpful in showing how to set up a "User A and B are friends" type relation. However, most SNS sites require ...
0
votes
1answer
50 views

How do I build a relation of users having a specific role, automatically?

I have installed the Relation module. I need that users with the "test" role are related with all users having the "student" role, automatically. How can I build this relation?
2
votes
1answer
154 views

How do I export/import all the relations created by Relation module?

There are standard procedures to export/import relation types, but not for the relations themselves. At least, I couldn't find any. Am I missing something obvious?
0
votes
1answer
111 views

Relation for fields

The Relation module supports creating relations between entities. Is there a way I could create relations between fields.
8
votes
3answers
3k views

Relation vs. References vs. Entity Reference for managing node-reference-type relationships in D7

References Entity Reference Relation It seems like there are several active modules that all have similar functionality. Can anyone offer any information as to which branch appears to be the most ...