I've created an 'event categroy' menu which is populated with terms like 'club,' 'bar,' 'tattoo' etc. using the category module and category menu.

I have used administration>>blocks to set this menu to appear on specific nodes. This works fine.

But how do I set this menu to appear on any node that has a certain categroy, like, for example, 'club?' In other words, is it possible to link this menu to a category term so that anytime a user accesses a node with that term the menu item will appear?

If not, how do I det the menu to appear with any node created by the 'event module'?

I really like the ability to connect a menu to a specified node, now all I need to do is figure out how to connect the menu to dynamic content created by certain content types, or category types.

Does this make sense?

Comments

scriptnews’s picture

In the blocks page, chose the configuration link ..

on the blocks configuration page, enter the taxonomy terms as addresses
either for those addresses where You want or where You dont want You menu block to show.

The * is like a "joker" like in

butter/*

it will get all pages which include or come under the term "butter".

Hope this helps.

Roland

erik_osaka’s picture

Does this work for the Category module, or only for the core taxonomy module?

I tried to enter in the term 'event type' into the administration>> blocks>> Calendar (which is comes with the 'event' module, and is the block I'm concerned with) but could not get the calendar to display on nodes tagged with the 'event type' term.

I tried listing it using just the term 'event type' the term plus * 'event type/*' and the term in its container structure 'events container/event type/*' but still couldn't get the calendar block to display...

Any advice on what I'm doing wrong?

venkat-rk’s picture

Also works with category module provided you have enabled the category_pathauto module.

Depending on the placeholders you have set up for your containers and categories in pathauto settings, you need to enter the particular terms for which you want this menu to appear ('club,' 'bar,' 'tattoo' ). If you want it only for 'club', you would put club* in the block settings.

If you want the menu to appear for all the terms (categories) of a particular container, then you would put container_name* in the block settings. Of course, this will only work in conjuction with your pathauto settings, as mentioned earlier.

erik_osaka’s picture

I will try that. Thanks Ramdak!

erik_osaka’s picture

Thanks bro, got it working with the pathauto module! Great advice and awesome module - life just got much easier!

Erik

venkat-rk’s picture

You're welcome:-)

FTF’s picture

Thanks Ramdak for all your posts, they helps me a lot.

This works for me only when I have container/category name in URL like http://example.com/container-name/story, but when I have URLs like http://example.com/story it doesn't work.

venkat-rk’s picture

I am not sure I understand you correctly. Could you try explaining it a bit?

FTF’s picture

I'm sorry for my bad english. However I think I have found solution of my problem: http://drupal.org/node/64135#comment-133988. Now I'm testing it with category module (with little modification).