Active
Project:
Drupal PHP Extension
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Support request
Assigned:
Reporter:
Created:
3 Nov 2012 at 20:29 UTC
Updated:
5 Nov 2012 at 19:02 UTC
I need to check if a node consists related nodes or not. Say suppose A B C are nodes, where A relates to B and C but B only relates to C and C relates to B. So the parent is 'A' and the related entities are B and C. Now in views I need to display a message saying "Click on the related entities of A" and then display B and C. But say if there are no such entities for 'A' then a message should be displayed as "Sorry no related entities found for A"...I need to run a php code through views to fetch the list of related entities of a node
How am I gonna achieve this. Please help!!!