[support] Hide certain tabs

Ms. Nancy Wichmann nan_wich at bellsouth.net
Thu Nov 10 18:02:17 UTC 2011


IMHO, the best way to hide tabs is with permissions. You might want to open an issue on the module explaining your use case and why it should provide additional permissions. I'm sure a patch would be most welcome.

 
Nancy 
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.



>________________________________
>From: Salvatore De Paolis
>
>I'm trying to hide some tabs installed with some modules and to do that I'm using hooks
>like:
>
>hook_menu()
>hook_menu_alter()
>
>and I'm setting the access_callback to false.
>Some tabs are hidden with hook_menu() other with hook_menu_alter() (why?) and another
>one doesn't want to go away anyhow :)
>The tab is been installed with the flag module and it's called Bookmarks.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20111110/d896bbcc/attachment-0001.html 


More information about the support mailing list