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

0
votes
0answers
10 views

Line Items type and Product Display relations

What is the right way to use line item type, that assigned to product display (or maybe product type) in views? For example, we have catalog of product displays, based on taxonomy + views and they ...
0
votes
0answers
10 views

relations endpoints table only lists one endpoint

We have some relations. We list the relations using the prebuild /relations view. Until today we got a list with all relation types and after selecting one of them, we got all relations of that type ...
0
votes
1answer
23 views

Display node's details instead of ID with relation module

I have create Two node ‘Partners’ & ‘Project form’. I used relation module & create directional relation between two nodes. Partner’s node have following fields: I have to select multiple ...
0
votes
1answer
24 views

Filter RelationQuery by relation_type

I have some 2-point-relations called 'is_member_of' where the source endpoint is a person and the target endpoint is a group. I like to list all of the members (without using a view). In the code I ...
0
votes
0answers
17 views

Implementing Hierachical data

In my real estate site I have created Property content type. I had fiends City and Location Term Reference fields. In fact I just added City field because earlier I did not thought I would store more ...
0
votes
1answer
47 views

How can I reference two field without nid or uid?

I have two content types: 1.- Equipment and 2.- Configuration The First CT has the following fields: Title : is equipment id with autocomplete module serial and hide for not capture. model : Text ...
0
votes
0answers
84 views

How to build a registration system for an after school club?

I am working on a primary school site and need to build a tool which allows parents to register their children for an after-school club. It's the sort of thing that runs every day, so parents will ...
0
votes
0answers
25 views

2-mode weighted network relations

My project is about organizations of the civil society, they show a "project based cooperation pattern. But I believe projecting 1-mode network relations to 2-mode network relations can be useful ...
0
votes
0answers
29 views

Reference to content type

I have multiple content types for consumer electronics goods, like "tv", "laptop", "mouse" etc. Every content type has its own fields and exposed using contexts and views with custom facet api blocks ...
0
votes
0answers
46 views

Relation - Webform & Users & commerce Product

Use case : Create a Company to upload there product in commerce site. Add three user accounts for each company who can help in upload the product to the website. I used Webform to accept Company ...
0
votes
0answers
39 views

Using Rules with TMGMT - Creating a translated node and a relation

I'm on D7 and have one content type that I'd like to have translated via Rules: So if it is getting flagged or manually saved (either way) it needs to have a relation to the same endpoint as the ...
0
votes
0answers
69 views

Drupal 6 - Views Conditional Relationships

I want to accomplish a combined Calender (litecal) view with multiple connected Content Types. One content type is an Internship and the other is an Event. Difference between these two is de ...
1
vote
0answers
41 views

How to view all nodes that have the same relation to another node?

I'm using Relation for drupal 7 with views. There is a content type 'Review', which has a relation('is a review of') to Listings and Events. What I want is two blocks in the right sidebar on the ...
0
votes
1answer
174 views

Filter taxonomy terms in common to nodes related to the viewed node

I want to filter taxonomy terms in common to nodes related to the viewed node, but I cannot figure out how. What I am getting are all the terms that the related nodes have (with repeated terms too). ...
0
votes
1answer
127 views

Faceted search using fields from a related node, is it possible?

Drupal 7 Modules: Facet_api 7.x-1.3 Search_api 7.x-1.6 Relation 7.x-1.0-rc4 My site has two nodes, node one provides a description of various astronomical objects and node two are images and their ...
0
votes
1answer
107 views

Access field on relation from rule

I am using the Drupal 7 Rules and Relation modules. I have a relation between a user entity and a node content type (membership). The relation has an added field (relationship type). I was able to ...
1
vote
1answer
39 views

Creating a view of relation fields limited to the relations that a currently viewed node is an endpoint of

To first explain the set up, I have a custom content type that represents a candidate. I have a relation between candidate and users where the relation has some fields (using the relation module). I ...
3
votes
1answer
151 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
119 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 ...
2
votes
1answer
331 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
16 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
211 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
464 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
148 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
1answer
69 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
1k 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
48 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
143 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
187 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 ...
1
vote
3answers
435 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
562 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
97 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
65 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
386 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, ...
2
votes
1answer
103 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
113 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
63 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
25 views

How to override Relation dummy field theme?

How can I override the Relation modules "Dummy Field" template using a custom module?
0
votes
1answer
32 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
1answer
285 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
202 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
375 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
1answer
1k 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
69 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
874 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
115 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
1k 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
1k 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
74 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
58 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?