I want to display all authors of node comments, so I build a custom view, attach it to node with EVA, pass Contextual filter with PHP code:
$node = menu_get_object();
if ($node && $node->nid) {
return $node->nid;
}works perfectly when it is on node content page, but not when on custom block region created with DS. Even code
return $node->nid;
also works as expected.
What is the best way to pass node variable to EVA field in DS created block?
Comments
Comment #1
playfulwolf commentedchanging the subject to more correct one
Comment #2
playfulwolf commentedseems if I put any static value as node ID into Contextual filters - it does not pass to EVA view in DS created block, but works on views block.
strange
Comment #3
aspilicious commentedDS simply doesn't support this with a DS created block.