开发者

Drupal 7 views filter by dynamic taxonomy term

开发者 https://www.devze.com 2023-04-04 06:39 出处:网络
I have a few pages (services), each with it\'s own taxonomy term. I would like to add a view to the bottom. It should contain all nodes (references) with the same term as the main node (service).

I have a few pages (services), each with it's own taxonomy term.

I would like to add a view to the bottom. It should contain all nodes (references) with the same term as the main node (service).

Could it be done by 开发者_如何学Goviews?

Read something about and tried contextual filter with no success. Image is bellow

Drupal 7 views filter by dynamic taxonomy term


I think you are on the right track. Try changing your validator to "Term Id" instead of "Term Name".

I created a block view with the settings you have (with "Term Id" as the validator) and enabled it on my node pages, and this seemed to work.

0

精彩评论

暂无评论...
验证码 换一张
取 消