I was wondering if there is some way to specify how nodes relate to each other, not just that it's a parent-child relation? In my case I would need to specify which kind of relation a child have to its parent. In this case the child can have multiple parents.

If there is no way to specify this as it is now, this post should go under 'Feature requests'.

Thanks.

Comments

enzipher’s picture

Category: support » feature

Changing this one to "feature request". I made a longer post about this in the forum.

Quote:

I have been trying out the Node Relativity module and it does pretty much what I want to achieve, except for one thing. I need to be able to establish a specific relation between a parent and it's child. For example: For one parent the child is male, but for another parent the same child is female (sorry for the bad logic).

I have given it a lot of thought, but I can't seem to figure out how to do this. I can't do it with taxonomies because the term would be specific to the child and would have nothing to do with its parent. I think it could work if the Node Relativity module would have an extra field in the db table with a tid (term id) value for the each relation that requires it (feature request/hack warning...).

Does anyone know how this parent-child relation could be done? Could some other module assist to do this?
Any input in this matter would be greatly appreciated!

Thanks.

In addition it would be absolutely fantastic if it was possible to specify multiple relations.

Something like this:

       parent             parent
         |                  |
         |                  |
  relation type 1      relation type 1
  relation type 2      relation type 2
  relation type 3      relation type 3
         |                  |
         --------------------
                  |
                child

Where the "relation type" could be specified with a tid value, or perhaps tid|tid|tid values for multiple relation types, in the db table.

I think it would be rather easy to implement, but my PHP skills or not what they should be, so if someone would like to try please do! I might give it a shot otherwise.

Thanks!

jjalocha’s picture

For the record, this is being implemented in the (stalled?) Node relativity 3.0 module.