Hi,

I would like to dedicate a page to the similar content of each node.
The problem is that the "Similar by terms:Nid" argument will automatically select the Nid of the dedicated page, and not the Nid of the targeted node from which we want the similar nodes.

I think of creating a field, on each dedicated page, containing the Nid of the targeted node.

But in my view display Page, how can I set the "Similar by terms:Nid" argument so that it takes the value of this field ?
Is there another way to do this ?

Many thanks for your help!

Comments

quicksketch’s picture

Status: Active » Fixed

But in my view display Page, how can I set the "Similar by terms:Nid" argument so that it takes the value of this field ?

You can pass in any value you want (such as node reference) as the argument of another view using http://drupal.org/project/eva. Another option is using Panels to control values passed into your views, but that solution is quite a bit more complicated.

This request is very old, so I'm marking fixed.

quicksketch’s picture

Oh, this request is for D6... but EVA is only for D7. Sorry about that. I'm not sure what would be a good solution for D6.

fourmi4x’s picture

I found a solution, I'm outputting the view programmatically and passing the argument I want, which overrides the default argument.

quicksketch’s picture

Status: Fixed » Closed (fixed)

Super, glad you found a work-around.