0

Hi i have a content type called "Resource" with 2 term reference fields, branches (A,B,C,D) other one is resource category (rec cat 1,rec cat 2) ,and i have created view called branches list displayed all branches like below in one node page.

A
B
C
D

and i have created another view called resources list it contains info based on resource category term reference it's ok but i need to display this view items based dynamic branch term name in my node page like when i click A need to display related branch info in my node page.

Please Advice.

0

The resource list view should accept the branch as contextual filter. Have a look here: Views contextual filters taxonomy name

Maybe also consider using quicktabs for showing these views.

  • Thanks for quick replay @remy i have created contextual filter from your provided url in resource list view section but no results getting "no query run" error in views section make sure i have checked related vocabulary. – Parvateesam Apr 12 '16 at 4:48
  • you need to provide a contextual filter for the preview, see drupal.stackexchange.com/questions/39109/… – rémy Apr 12 '16 at 8:26
  • Thanks saved my time it's working , in contextual filter section i have choose Provide default value type is PHP Code see drupal.org/node/1871388 – Parvateesam Apr 13 '16 at 5:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.