References will most probably be deprecated in the near future in favor of Entity Reference, which should probably be considered first on fresh D7 projects. Another, more radical, alternative would be the Relation module.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | pushtape_features_references-1460296-10.patch | 10.01 KB | discipolo |
| #8 | pushtape_features_entityreference-1460296-8.patch | 10.06 KB | discipolo |
| #4 | pushtape_features-1460296-4.patch | 33.58 KB | discipolo |
Comments
Comment #1
discipolo commentedsome places to investigate
- "Relation Select". for the relation route
- if going with Entity Reference check out Reference Dialog
- http://drupal.org/project/nodeconnect if we stick to the references project
Comment #2
drupallerinaAnother entity reference auto-create approach:
http://drupal.org/node/1261574
http://drupal.org/sandbox/michaek/1451014
Comment #3
zirafa commentedHere is the auto-create pattern currently used in Pushtape Features with nodereference. It seems like we can just update this code and use entity reference to store the relationship when creating the album node.
Comment #4
discipolo commentedhere is a patch that attempts this switch to entityreference.
the patch also adds a mediafield (media2.x)
the artist field is rewritten to a term.
this is taken from my github upstream repository branch https://github.com/discipolo/pushtape_features/tree/7.x-2.x
Comment #5
drupallerinahttp://drupal.org/project/entityconnect now gets my vote
Comment #6
zirafa commentedCurrently Pushtape associates a track with an existing album reference, or prompts for the new album title that will create an album node upon track node submission. Then it lands the user on the album edit screen for further album info (if needed). This is a 1-2 step process.
Entity Connect caches the form, takes user to new form, and returns them back to the old form. This seems like an unnecessary back and forth of workflow.
Comment #7
discipolo commentedhttp://drupal.org/project/references_dialog now works with entity references
Comment #8
discipolo commentedjust the switch
Comment #10
discipolo commentedtried again, this time tested that it applies.
Comment #11
zirafa commentedFixed in http://drupal.org/project/pushtape_discography