? .advanced_help.module.swp ? advance_help_wording.patch Index: advanced_help.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/advanced_help/advanced_help.module,v retrieving revision 1.41 diff -u -p -r1.41 advanced_help.module --- advanced_help.module 28 Oct 2008 17:33:47 -0000 1.41 +++ advanced_help.module 16 Mar 2009 04:52:21 -0000 @@ -38,26 +38,49 @@ */ function advanced_help_menu() { // View help topic index. - // This is structured a little oddly so POTX can properly handle the translation. - if (module_exists('help')) { + // Added the admin/advanced_help/index items so the admin/by-module + // page will show the link to the Advanced help index. + if (module_exists('help')) { $items['admin/advanced_help'] = array( - 'title' => 'Advanced help', + 'title' => 'Extended help', + 'description' => 'Index of extended help items.', 'page callback' => 'advanced_help_index_page', 'access arguments' => array('view advanced help index'), 'weight' => 9, ); + $items['admin/advanced_help/index'] = array( + 'title' => 'Extended help', + 'description' => 'Index of extended help items.', + 'page callback' => 'drupal_goto', + 'page arguments' => array('admin/advanced_help'), + 'type' => MENU_SUGGESTED_ITEM, + 'access arguments' => array('view advanced help index'), + 'weight' => 9, + ); } else { $items['admin/advanced_help'] = array( 'title' => 'Help', + 'description' => 'Index of extended help items.', 'page callback' => 'advanced_help_index_page', 'access arguments' => array('view advanced help index'), 'weight' => 9, ); + $items['admin/advanced_help/index'] = array( + 'title' => 'Help', + 'description' => 'Index of extended help items.', + 'page callback' => 'drupal_goto', + 'page arguments' => array('admin/advanced_help'), + 'type' => MENU_SUGGESTED_ITEM, + 'access arguments' => array('view advanced help index'), + 'weight' => 9, + ); + } $items['advanced_help/search/%menu_tail'] = array( 'title' => 'Search help', + 'description' => 'Search the help system.', 'page callback' => 'advanced_help_search_view', 'page arguments' => array('advanced_help'), 'access arguments' => array('view advanced help index'),