From af2b5e7d86a94fc7d0834e2ef0e44036d28cae3b Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 20 Oct 2010 08:15:33 +0000 Subject: =?UTF-8?q?#408160=20by=20sun,=20Berdir,=20G=C3=A1bor=20Hojtsy,=20?= =?UTF-8?q?David=5FRothstein:=20Fixed=20move=20Add=20new=20content=20link?= =?UTF-8?q?=20to=20Navigation=20menu.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/node/node.module | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/node/node.module b/modules/node/node.module index 80d30b62e..b519d637a 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1893,14 +1893,15 @@ function node_menu() { $items['node'] = array( 'page callback' => 'node_page_default', 'access arguments' => array('access content'), + // Required to make 'node/add' appear on the top-level of 'navigation' menu. + 'menu_name' => '', 'type' => MENU_CALLBACK, ); $items['node/add'] = array( - 'title' => 'Add new content', + 'title' => 'Add content', 'page callback' => 'node_add_page', 'access callback' => '_node_add_access', - 'weight' => 1, - 'menu_name' => 'management', + 'menu_name' => 'navigation', 'theme callback' => '_node_custom_theme', 'file' => 'node.pages.inc', ); -- cgit v1.2.3