Hi,

Well, i've made some research for what i'm looking but i didn't find something that answer to my waitings.

I have created two content type :
Product and sub-product that has a node-reference field (on product). So, a product can have a lot of sub product.

When i'm in a sub-product node, i need to have a block (created with view) which is a list of all the other sub-product that have the same product in reference.

I try to find by myself since two days and i'm gonna turn crazy.

Thank you for your help.

PS: sorry for my bad english :)

Comments

glennnz’s picture

Subscribe, I'm trying to do the same thing.

Glenn

Glenn
THECA Group

rvarkonyi’s picture

You could try Node hierarchy module that already has a views integration. Then just play with your views and you should be able to get it working.

http://drupal.org/project/nodehierarchy

danielb’s picture

You can use view reference to embed a view of all the referenced nodes, and the node items themselves in the view could display their view reference field, and so it would cascade down. A bit of theming and you could get it exactly how you want.

pareen’s picture

Can you elaborate how this can be done in Views? I can pull all the nodes referenced in a particular node by passing on the node id argument.

but what after that?

blekc’s picture

Views 2 can't do what you ask. It's hard to believe but true. Saying it straight and clear seems to break a taboo, which leaves tens (if not more) of drupal users spend days looking for a solution that doesn't exist.

Views can help doing what you ask but you will have to add some extra PHP code, one way or another.