I have created variants of panels for different contenttypes. On some of them I want to show a menu. If this menu is visible depends on the taxonomy term of the node.
I have been searching for days in docs and tutorials about contexts and taxonomy but couldn't find an example.
I did manage to place related views in the panels (I mean I am willing to read about how to get things done) .
Can someone explain me how to do this? Or point me to some documentation?
Thanks

Comments

merlinofchaos’s picture

Component: Plugins - contexts » Code
Status: Active » Fixed

If this menu is visible depends on the taxonomy term of the node.

How does it depend? This information is critical.

My assumption is that you don' thave anything in place to do this dependency. IF this is the case, you need to use the visibility rules.

First, go to the 'context' tab and add a 'relationship' and get the taxonomy term from node relationship. This will create a taxonomy term context.

Then on your pane, add a visibility rule for taxonomy term.

Status: Fixed » Closed (fixed)

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