Skip to main content
Tweeted twitter.com/#!/StackDrupal/status/607059622017564672

nodereference How to use node title or path alias instead of node id in node reference contextual filter in views?

Source Link
uwe
  • 12k
  • 15
  • 92
  • 171

nodereference contextual filter

I have node A with a node reference to node B.

In a view I show all nodes A that have particular node B referenced (nid: 123, title: node-B-title).

Instead of using the nid in the contextual filter I would like to use the node title. For example, instead of:

view-name/123

I would like to use

view-name/node-B-title

How could I do that?