drupal - Create views of node reference -


i have 2 types of content:

reports , customers

the type of reports has field content "node reference" can include multiple customers.

each time click content type of reports created, within node of such view me content customers report should appear.

how can create view shows me reference node enter specific content type reports.

thanks

if understood (you want display customers referenced viewed report) don't need view @ all. template file reports content type (node--reports.tpl.php or something) gave array of referenced customers.

i.e. if called node reference field "customers" array should accessible with:

$node->field_customers['und'] 

if doesn't print_r whole $node object see have there , how access it:

print_r($node); // node template file 

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -