Hi all,

Today I've repeatidly failed on customizing how my menus output for a node.

I've got a few menus that are implemented for a particular type of content. I want some of them to show in the primary tabs, and the others not to. However, I want the remaining tabs to show for every menu like 'node/%/***'.

I've tried using all types of menus (local tasks, normal item, callback, not custom though), implementing the menu_local_tasks hook and filter on $item['path'] == the_menu_path_i_dont_want_to_show, but at least my method wasn't successful.

Any idea how to achieve that?

I've also had a quick look at the quick tabs module, which is quite interesting, but as far as I understand can only be used for views/blocks?

Thanks,
saipas

Comments

saipas’s picture

I still haven't found any solution :/ it's either all tabs appear or none...

saipas’s picture

I couldn't find any drupal way so I just went for a hard menu coded into my templates and disabled the $tabs...