I have a site where there are groups of related nodes: a user profile node has a photo gallery node and some other nodes. I consider using node hierarchy for establishing relations between them: the user profile would be the parent of the nodes. That is, one parent, several daughters.

I want that, when a user profile is shown, a menu of the related nodes shows in the left panel. And when I am in any of the daughters, the same menu is shown, that is, I can see the parent and the siblings.

I know node hierarchy automates menu creation, but creating one menu for each user profile is too many menus. From my point of view, this must be a bad solution. Probably doing it programmatically would be better.

What can you suggest me for creating a taxonomy of all nodes in a hierarchy? Can it be done with views or must I go for php directly? I have seen some views_union module, but there is little info about it.

Comments

dgorton’s picture

Status: Active » Closed (fixed)

I think this could be handled by a combination of views and node-references: rather than parent/child relationships, create node-references between the content. Then, create a number of views that filter for a particular content type, give them a block display and use the current Node ID as an argument. That should work.
If you're still stuck - please reopen the ticket!