Posted by ithacaindy on April 26, 2010 at 2:08am
I am using the menu blocks module to display parts of my primary menu items in blocks in the right sidebar. I want to display the blocks in certain sections (an 'Inside Sports' menu block would appear only on the Sports term of the 'Topic' taxonomy. My problem is blocks can only be limited by page (about, front, etc.) and not taxonomy.
How do I limit block visibility based on taxonomy?
Comments
http://drupal.org/node/320795
http://drupal.org/node/320795
?
Cathy Theys
Taxonomy Visibility
I have the same issue but it is specifically related to panel and custom page types as well so maybe need to use context?
I could disable the taxonomy link but then this view is very usefull but not functionaly if I can't display the menu in the left block.
Any ideas please on how to get the menu block to display on txonomy views?
Andrew
Taxonomy Blocks
Hi,
There's a couple of ways of doing it. One is to use Automatic Aliases, set these to take the taxonomy into account and then specify in the blocks which URLs the blocks should appear on, e.g. sport/*
Another way is to use custom PHP code in the blocks, there's more information on that here:
http://drupal.org/node/113651
Cheers
Martin
www.indigoextra.com