aaronDressler
asked on
Drupal Node and User Referencing - Chaining Nodes and Users
Hi experts,
I'm new to drupal 6, and have a few questions that I just can't seem to find answers to on web.
I am messing around with a social network for musicians, where I want users to be able to upload multiple albums containing multiple songs. I have many of the required modules for this already installed, I just can't figure out how to connect a user to their albums and songs. I understand I will need Views in order to display the results, but I am confused when it comes to creating the content-types and Relationships.
Here's what I have gathered so far:
I need two content-types: Albums and Audio
Link the albums to the users with the node reference URL module?
Each song needs a node reference pointing to the album.
Obviously, I don't want users to be able to create albums under another users id, so would referencing this ID thru the Node Reference URL be appropriate?
Similarly, I don't want people to be able to insert songs into an album they aren't the owner of.
Am I on the right track? Any and all help is greatly appreciated.
I'm new to drupal 6, and have a few questions that I just can't seem to find answers to on web.
I am messing around with a social network for musicians, where I want users to be able to upload multiple albums containing multiple songs. I have many of the required modules for this already installed, I just can't figure out how to connect a user to their albums and songs. I understand I will need Views in order to display the results, but I am confused when it comes to creating the content-types and Relationships.
Here's what I have gathered so far:
I need two content-types: Albums and Audio
Link the albums to the users with the node reference URL module?
Each song needs a node reference pointing to the album.
Obviously, I don't want users to be able to create albums under another users id, so would referencing this ID thru the Node Reference URL be appropriate?
Similarly, I don't want people to be able to insert songs into an album they aren't the owner of.
Am I on the right track? Any and all help is greatly appreciated.
ASKER
Thank you for the reply. I don't think I have the ability to add song files to the album content type. File Type is not listed in the available CCK field types. Is there a widget that I'm missing? Then effectively, every song would have an Album node? Or can I insert multiple songs into one Album through some multiple file uploader?
Also, I currently have advanced_profile module, what are the advantages of content_profile?
Thanks for your help!
Also, I currently have advanced_profile module, what are the advantages of content_profile?
Thanks for your help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much! You've been more than helpful!
You really shouldn't have to use node reference unless you want to do something a lot more complicated, but that may not be a good idea to start out.
As far as having the profiles of the different musicians, I would check out the "Content Profile" module (http://drupal.org/project/content_profile) for tying all of these together.