Starting to use viewfield all the time... I want to pass multiple taxonomy terms to the view that is to be inserted into node by manually adding city names. My editors will never know the Term Ids so have to use the actual term name. It says we can pass comma separated arguments. Could I get an explication or pointed to how to set the view up to accept the multiple term names such as city1,city2,city3 that are added in the viewfield argument box? I appreciate that this is probably a views issue, but not getting any luck there. Does the view have to be a term Id argument and then need php code to convert the term names to term ids? Tried several versions of that but not getting anywhere. Thanks

Comments

klavs’s picture

the arguments is simply sent to the view - so I guess it's up to the views module how it likes it - depending on what arguments you've set in the relevant view.

Using taxonomy term id as argument, you just use tid+tid (and so on) - and I actually use a taxonomy term id argument for the name as well (fetching the id using the argument validator- if the argument isn't numeric.

sun’s picture

Status: Active » Fixed

What #1 states.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.