the following function have no effect:

function mymodule_menu_alter(&$callbacks) {
$callbacks['node/add/mymodulecontent']['type'] = MENU_CALLBACK;
}

if I understand correctly the node menu is built using the menu system now, which means i should be able to change the type from here. I can't change the type or even the title for this matter.. :(

Comments

jcdenton.dm’s picture

I have a similar problem with ['page callback']

:-(

jcdenton.dm’s picture

Priority: Normal » Critical
jcdenton.dm’s picture

Priority: Critical » Normal

Arg, it was my failure: a view change the menu.

I have not that problem.

damien tournoud’s picture

Category: bug » support
Status: Active » Closed (works as designed)

I confirm that changing the type of a node/add/<content type> does have an effect.