Closed (works as designed)
Project:
Drupal core
Version:
6.9
Component:
menu system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2009 at 12:43 UTC
Updated:
12 May 2009 at 12:52 UTC
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
Comment #1
jcdenton.dm commentedI have a similar problem with ['page callback']
:-(
Comment #2
jcdenton.dm commentedComment #3
jcdenton.dm commentedArg, it was my failure: a view change the menu.
I have not that problem.
Comment #4
damien tournoud commentedI confirm that changing the type of a
node/add/<content type>does have an effect.