Hi,
I am interested in linking two CCK nodes using a "connector". I have nodes that are "people" and nodes that are "objects" and I want to connect them using "verbs", and whenever an "object" node is displayed that a list of the "objects" and the verbs that connect them show up. Is this something that can be done using any of the modules? I am currently looking at the node relativity and also at the CCK connect module.
An example of what I am talking here would be the following:
People = Drupaler
Verbs = Watch, Type, Wear
Objects = TV, keyboard, shoe, shirt
If a Drupaler is selected, then a list of verbs and objects would show up as:
Watch: TV
Type: keyboard
Wear: shoe, shirt
If on the other hand, an object is selected, say for example the shoe, then the shoe should show the following:
Drupaler: Wear
Any ideas?
Thanks in advance
Comments
As far as I know,
As far as I know, verb-object relationships are not yet available as of Drupal 5.2, thought work toward that end has begun.
dman offered a preliminary module meeting these critiera some time ago.
http://drupal.org/project/relationship
Here is a proposal for a Relationship API:
http://drupal.org/node/61136
Might there be a way to do the Object-Verb-Actor Link?
Pcwick.
This might be a way...
1. Install the Relativity Module (http://drupal.org/project/relativity), and the CCK module
2. Create three Content Types (People, Verbs, Objects)
3. In the Node Relativity administration page, "Manage relationships" for these three content types.
4. Set parents and children as: People>Verbs>Objects (so that people parent to verbs, and verbs parent to objects); leave every other option the same.
Now you can create people who are connected to objects through verbs. My problem is on how to show the whole relationship when clicking on people, or on objects. Any ideas how to show deep connections and how to theme this module?
Thanks
http://www.faunapolis.org/
node relativity test for Object-Verb-Actor relationship
Ok, so here is a test... I used pathauto also just to check that there is no conflict with this module (which there seems not to be any here).
http://testsite.misumisu.com/
The actors in this case are: Civil Engineer, and Athlete
Both wear shoes and shirts, one designs buildings, and the other plays soccer.
A thing I liked about this approach, is that since the actor doesn't "own" the verb, and the verb is a node of its own, not just a "linker", the same verb can be used by different actors and for different objects. The thing I didn't like about this approach is generated by this "advantage", that is since the verb is not owned by the author, you would have to create different versions of the verb for example for a kid who also plays, but not soccer, but instead baseball.
I'd like to also have the author show not only the verb, but also the objects that are connected to that verb. Any ideas on how to do this?
Thanks in advance