Closed (fixed)
Project:
Marketplace
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2009 at 15:10 UTC
Updated:
26 Feb 2009 at 08:36 UTC
Hi,
I still can't figure out how to edit cc_custom.module to be able to remove tabs and edit tab titles on the user pages.
I've tried adding this to cc_custom_menu_alter()
unset($items['user/%/balance_history'];
menu_rebuild();
and cant get any changes from that. Even if I delete the menu items as they are declared in transactions_menu() in transactions.module (which I know is not a good idea), the balance history tab still shows up.
I've tried running menu_rebuild() straight after my new code, and also from a separate page, but this doesn't make any difference..
thanks for your help,
Rachel
Comments
Comment #1
matslats commentedFirst off you shouldn't put menu_rebuild() in hook_menu_alter