After feeling the shortcoming of Joomla I came to Drupal 7 in the hope to find here something essential. I simplified my case a bit as I just want to understand the essence of the approach needed.
The project
A booking website for boattrips. Visitor should be able to select a boat, see the general information (eg boatname, departing harbour etc etc) in the main content area and in a block the room info (e.g. type of room, sqm room) and in another block the trip info (e.g. itinerary details, price). When displaying a boat , of course, only rooms and trips belonging to that boat should be displayed, not all rooms and all trips. Reason for this approach is to be able to find a nice responsive theme and display well on all media.
My approach so far
I created 3 content types (boat, room, trip) as I believed that they should be in 3 independent but "linked" tables, but I fail to understand how to connect/relate them (using Views).
The questions
Which module should I add to reach this relationship displaying in the most easy way and what settings?
How do I reach that the boatowner fills in all the info and by doing so the relationship is created?
Should I use filter, contextual or relationship?
Probably I am not impressively clever here, but please take into account that my "drupal life" started only a small week ago, even though I took it as a full time job so far! Please give me a well defined English hint . . . don't speak Drupalese well yet . . .
Thanks in advance, eager to hear where I went wrong in my thinking.
Comments
Term Reference is the "glue"
Term Reference is the "glue" to hold this together. You can create a vocabulary called "Destination" and list all the possible locations in it. (You can even make it updatable on the content creation form for Destinations.) So when someone creates a Destination, they select "Hawaii." Now, when someone adds their ship, they can be presented with a Term Reference field of Destinations and check off all the destinations they sail to. Same for rooms.
Then in Views, when you show a particular ship, you can also have a block of destinations that is filtered by the current node's (or ship's) term reference.
It sounds challenging, but once you get it it's not. If you watch a couple videos on Term Reference (it used to be called Taxonomy Reference in D6) you will get this.
A list of some of the Drupal sites I have designed and/or developed can be viewed at http://motioncity.com/drupal
Not really what I search for
Thanks mcfilms, but not exactly what I search for, or maybe I fail to see the options.
My site needs to have possibility to have individual boat owners creating their "boat content" as well as their "room content". The issue is this:
When they are creating their room content, automatically this should be linked/related so that any form of boat display on the site makes it possible to also show the room info (in content area or block). If the owner can select himself the boat from a list, he might mistakingly take the wrong one. Please remember that one owner might also own more boats (linking to user . . . difficult).
Hope this inspires to other solutions. I am checking in Entity reference, reference, relation but see not yet how to automate this.
John
Learning and learning, and appreciating very much your help.