You can still use hook_menu_alter, just set the weight of your module higher than that of Flag in the system table. That will cause your hook_menu_alter to fire after Flag.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 11/10/2011 1:07 PM, Salvatore De Paolis wrote:
On Thu, 10 Nov 2011 10:02:17 -0800 (PST) "Ms. Nancy Wichmann"nan_wich@bellsouth.net wrote:
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.
I've seen an example on drupal about hiding tabs with permissions and I agree it's great. About this special case I also understood the reason. The module Flag creates this tab using a view and apparently hook_menu_alter() doesn't work with tab created from views.
Sal