Drupal 7 自定义模块的“管理”菜单未出现

Drupal 7 自定义模块的“管理”菜单未出现,drupal-7,Drupal 7,我正在尝试制作自己的模块。我实现了hook_菜单和hook_表单,我想测试它,但是它的管理页面不存在。我正在学习与drupal一起工作。谁能帮我一下吗 testmod.module的代码: /** * Implements hook_menu() */ function testmod_menu() { $items = array(); $items['admin/config/content/testmod'] = array( 'title' => 'Testmo

我正在尝试制作自己的模块。我实现了hook_菜单和hook_表单,我想测试它,但是它的管理页面不存在。我正在学习与drupal一起工作。谁能帮我一下吗

testmod.module的代码:

/**
 * Implements hook_menu()
 */
function testmod_menu() {
  $items = array();
  $items['admin/config/content/testmod'] = array(
    'title' => 'Testmod',
    'description' => 'Configuration for testmod module',
    'page callback' => 'drupal_get_form',
    'page arguments' => array('testmod_form'),
    'access arguments' => array('access administration pages'),
    'type' => MENU_NORMAL_ITEM,
);

}
function testmod_form($form,$form_state) {
$form['testmod'] = array(
'#type' => 'textfield',
'#title' => t('Test value'),
'#description' => t('Enter the test value here'),
'#size' => '100',
'#default value' => variable_get('testmod'),
);
return system_settings_form($form);
}
我无法访问我创建的此表单。当我进入mypage.com/admin/config/content/testmod时,我将进入admin/config/content


谁能告诉我我做错了什么?谢谢。

我看挂钩菜单代码没有任何问题。它可能与实际路径有关,也可能内容路径已经指向其他地方,并将testmod作为一个参数

您是否尝试了其他路径,例如admin/config/testmod