I have created a simple relationship between (parent and child) nodes using node references as parents. I want to show a dogs pedigree (display parent nodes and parents of parents etc). Is it possible to show a list of parents, grand parents, great grand parents etc? I am trying to use the node relationship module as suggested in http://drupal.org/node/414922

Comments

j_ten_man’s picture

You aren't going to be able to do this straight out of the box with views, but with some clever theming, you should be able to accomplish your goal. Are you any good with CSS? That is the area where I am a bit weak, so while I could get all of the info out of the db and put into divs and so forth pretty easily, actually getting it to look pretty would be a bit of a stretch for me.

socceronly’s picture

Wouldn't this need to be a recursive function to accomplish this?

j_ten_man’s picture

If you want the depth to be dynamic, then yes, it is not possible with views. However, if you only want to go a specific number of generations back, then it is possible with views.

spuggy’s picture

3 levels will be enough. Parents, Grand parents, Great grand parents. I have offered to pay for the help as my php isn't good at all. CSS I can handle the basic as with Drupal.

Lios’s picture

I'm looking for the same thing (well, for cats in my case ;) ). Unfortunately, in none of the posts about this subject there is a solution offered.

I can theme like a madman, but I can't get the data from a view. Any suggestions on how to get this done?