In the HOOK_menu function, I have added a couple of menu items as MENU_LOCAL_TASK type to be shown together with Node "View", "Edit". The tabs show well and work well in terms of response to click. However, the new tabs are not turned 'active' when click.
the 'View' tab is alreadys 'active' instead.

Kindly advise me whether I have missed out some thing to turn the 'active' tab switching on or I have done something to prevent it turning on.

Thanks.

Comments

nedjo’s picture

Your code would be needed to see where the problem is. Have a look at the use of MENU_DEFAULT_LOCAL_TASK in some of the core modules.