Hey all.
I'm totally new to Drupal and I'm having some difficulties understanding relationships...I think got the grip on how to add node reference fields when adding content but how do I set things up in the view? Some background history: I'm currently in a project where I'm developing a site for an record label (built on top of CodeIgniter Framework) but Drupal caught my attention and I want to see if I could do most of the things I've already done by myself in CodeIgniter, in Drupal.
What I'm trying out here in order to understand how things work is:
- Artist (Relationship with Album(s))
- Album (Relationship with Artist(s))
- Tracks (Relationship with Album(s)/Artist(s))
For example, I added a Album content-type and one node-reference field for relating Artist. One album can have multiple artists depending on the release.
I get this to work as expected...but I'm a bit confused when it comes to creating more relationships...I want one page domain/releases to show a list of all releases and domain/artists show all artists and if you click on either an album or artist, details will show with relational information.
I've been trying to read the handbook and finding some tutorial that might cover what I'm interested in doing but I can't seem to find anything that helps me understanding this better...can anyone of you help me?
Comments
Book
O'Reilly's Using Drupal book does a fantastic job of explaining CCK/Views/Relationships.
If you plan to download the ebook, a bit of Googling might give you a 40% off coupon...
look into taxonomy
I assume that the 'relationships' you refer to is a third-party module. Try the documentation and forum for that module.
If you want to do it without a third party module, read-up on taxonomy. I think 'pro-drupal development' has a chapter on it.
Taxonomy is a core module that allows for very a complex scheme of categorization that could be called relationships. It works similar to the tags in Flickr. You could set up schemes that could handle cross-over, fusion, and collaborations.