Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

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 promising / likely to survive & thrive? Any advice is welcome.

share|improve this question

3 Answers 3

up vote 3 down vote accepted

I've tried them all for an upcoming project. And the way i see it, only use Relation if you're dealing with complex relationships, not one-to-one references. If what you need is a basic reference, I'd go for references or entityreference.

I think that the last update concerning a widget for Relation, is that they're going to drop the idea, and consider Relation as an API only module. But who knows?

One note, if you want to use entityreference and field_collection together - it's buggy. Just fyi.

share|improve this answer
    
Thanks - references replicates the d6 functionality which, in my case, is perfectly adequate... –  starsinmypockets Oct 24 '11 at 14:36
1  
can you specify buggy? in what problems will I run? –  Serpiente Mar 6 '13 at 1:56

As of March 2012, the References module project page is now recommending Entity Reference as a replacement.

For basic node-type references, Entity Reference is certainly easier to set up than Relation. I think a good general rule would be

If you can do what you want with Entity Reference, use that. Otherwise, go with Relation.

share|improve this answer
2  
Fully agree with Patrick. Entityreference module in Drupal 7 has the same functionality as Nodereference and Userreference modules in Drupal 6. –  Eugene Fidelin Aug 1 '12 at 12:38

Relation is planned as a replacement for References. Visit the Drupal.org/modules/references or /relation pages. Relation looks very good, but is not fully implemented yet. They have been working on widgets to create the relationships, but have also had some problems. Despite the limitations current widget I like the relation module capabilities. I have been working using both as I get more familiar with Drupal.

share|improve this answer
2  
I think Entity Reference is the natural successor to References, not Relation (they're not very similar); quote from the module page: "References will most probably be deprecated in the near future in favor of Entity Reference". The same page notes the Relation module as a "more radical alternative" –  Clive Apr 20 '12 at 15:42
    
I just used references over entity references. On a node edit page you can filter a node reference selection widget by a view - that's a really cool feature. Not sure if entity references has that too. The database structure looked very similar for both so migration from references to entity references shouldn't be difficult in the future ... –  MotoTribe Apr 20 '12 at 17:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.