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
7 views

Using views Org Chart in Drupal

I am trying to use Views org chart module in drupal. I have created a node type contact using CCK module which stores in personal details of any person. I have used relation module to create relation ...
0
votes
0answers
10 views

How can I add an end-user-friendly “Add Relation” block?

Note: I am currently using Entity Reference, but am willing to use a different module if it makes the solution easier. I am currently developing a recipe-sharing site with two content types - ...
0
votes
0answers
12 views

Creating Automatic Relations

Consider this scenario: I have 3 nodes A,B,C where A is father of B , B is father of C and I have created these two relations using the relations module. Now it implies that A is grandfather of C. ...
0
votes
1answer
36 views

Help with relationship between content-types

I'm trying to develop an education portal for one of my clients using the Drupal framework. Most of the requirements has been fulfilled but I'm stuck on one of the features. I have three content-types ...
0
votes
0answers
10 views

How to configure conditional filed (Entity reference)?

I have configured two fields, one is of type taxonomy reference and other is entity reference (Node). All nodes are attached with some taxonomy terms. First field consists of all the taxonomy terms ...
0
votes
2answers
39 views

How to relate a field to another field in content type like a foregn key?

Can anyone guide my to the best method or module to connect 2 fields together? I want to create a field called (Author) in a content type book, which will refer to a field called (name) in a content ...
2
votes
1answer
36 views

Can't delete Relation module

I'm trying to disable or delete the Relation module (and about to pull what's left of my hair out). Relation and Relation Endpoints Field are checked, but greyed out so I can't uncheck them. I don't ...
0
votes
0answers
12 views

Relation: Translating a node removes its relation

I have a weird problem regarding the Relation module and translations in Drupal 7. I have types for companies and buildings and I have a relation between company and building that means that the ...
0
votes
0answers
24 views

programmitacly get related nodes by terms

Im trying to get nodes related to a node in my module i found https://api.drupal.org/api/drupal/modules!taxonomy!taxonomy.module/function/taxonomy_select_nodes/7 its only accepting 1 TID ... i mean ...
0
votes
1answer
31 views

Workflow for Entity relationship / relations

I have a content type called Blog. I want the end users to be able to add new relations between the blogs, so that we can build a network of related blogs. But the challenges I am facing are Users ...
0
votes
2answers
56 views

How to list node parent's children

Sorry if this is a repeated question, tried many suggested options but no result. There is business model of 1 to N relationship "parent and children". I am working on a project where i have a ...
0
votes
1answer
49 views

Difference between Relation and term reference field

Can anyone explain, what is the difference from practice point of view between relation (by Relation module) and term reference? I mean if I will use as product attribute taxonomy term, what type of ...
1
vote
3answers
40 views

How do I create a content type that has another content type embedded inside of it?

I'm building a content type for a journal-type product. In each journal there are a number journal articles that vary from journal to journal, which have their own unique fields (like author, date, ...
0
votes
2answers
46 views

How to relate nodes in Drupal 7 [closed]

How can I relate content in Drupal 7? I have three content types: Product Group ( With detail page ) Product ( With detail page ) Application ( With detail page ) A product belongs to a product ...
0
votes
1answer
25 views

Relationships Between Content Types

I have 3 content types that I have created: order, product and salesperson. The fields for each are as follows: Order: Purchaser Name, Product (entity reference to Product), Quantity Product: ...
0
votes
1answer
72 views

Non-directional/symmetric relation between nodes of the same content type

In a Drupal 7 website I would like to create an "is similar to" relation between nodes of the same content type. The nodes are vessels (ships) and a vessel can be similar to several others. Think of ...
1
vote
1answer
53 views

Is there a hook when a relation is created, updated or deleted?

I know how to use hooks like hook_node_presave. Is there also a hook to catch the deletion of a relation or the update of a relation? In the API I cannot find anything. Maybe there is a workaround? ...
0
votes
1answer
39 views

Parent and subordinary weights and relations like in menu and taxonomy system module

It seems that there is no module in the contribution repository which simulates the behaviour like this of terms in given vocabulary or menu items in a given menu from system modules in Drupal 7. (?) ...
1
vote
0answers
66 views

Entity references or Relation for A<=>B , B<=>C and A =>(B)=> C?

Another which module question ... I know. Sorry for that. But time changes answers. I need transitive bi-directional references, where both ends know from each other (to handle them with rules, ...
0
votes
0answers
26 views

Add below each node type A the related nodes of type B

How can I do the following: Display all nodes of content type A (done!) Add underneath each node A fields of related nodes of type B (???) I use Drupal 7 and Views 3. This post suggests the use of ...
0
votes
1answer
56 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 ...
1
vote
1answer
136 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
1answer
77 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
35 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
175 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
58 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
237 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). ...
1
vote
1answer
597 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
277 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
63 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
188 views

How to add a new calculated field by using `hook_views_query_alter`?

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 ...
1
vote
0answers
184 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
730 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
1answer
352 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 ...
2
votes
1answer
855 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
1answer
76 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
2k 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
51 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
182 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
342 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
873 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 ...
1
vote
0answers
775 views

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

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 these features ...
1
vote
1answer
138 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
74 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
800 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
151 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
150 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
68 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 ...
0
votes
1answer
35 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
448 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 ...