filter homepage content based on term id I have two pages "homepage" and "countries", the default behavior is that when a visitor first visit my homepage all content is gathered regardless of the country.

But if the user went to the countries page, which is a view that's getting term ids from a taxonomy list, and selects a country, he/she will get redirected to the homepage and the homepage content will get filtered to the term id the person chose from the countries page.

I think I should be using contextual filters, but I'm confused right now.

my question is how can I do this filter on homepage based on a term clicked from another view.

any help will be greatly appreciated with hot cookies.
Okay, now i understand your problem!

When a user clicks on a link in the "countries" page, he will see the standard taxonomy term "view". But i guess you want him to see your normal "homepage" BUT with filtered content.

You have two options:


Alter the taxonomy term page.
Use contextual filter on the "homepage" and change the links on the "countries" page according to use the filter.


In my opinion you should clearly prefer option two. Also have a look at the view "Glossary", which should be included, but not activated out of the box, this should help you a lot in configuration!