On Thu, Mar 1, 2012 at 12:53 PM, Daniel F. Kudwien wrote:
Am 01.03.2012 17:19, schrieb Karl Giesing:
Furthermore, we also need the ability to add Track nodes as we are creating an Album node - that is, we need the ability to create multiple nodes, and their references, all from the single form used to create an album. What should NOT happen is that the user has to create each track individually before they create an album that has those tracks - this is a workflow nightmare. (And it's currently how Pushtape works.)
There are currently three D7 modules used to create node references: References, Entity Reference, and Relation. References is the only one not currently in beta - and it's being depricated in favor of one of the other two. Furthermore, as far as I can tell, none of the above allow you to create the references unless the nodes already exist.
Creating 0-n other entities as part of the initial creation/form flow of a parent entity, and handling that correctly in terms of what data to store where and what to do in case of validation errors down the line, is the tricky part.
How about taxonomy? You could have a term for the album and each track node for the album adds the term. -- Earnie -- https://sites.google.com/site/earnieboyd