Add a new configurations block to admin/config I'm trying to add a new configurations block to admin/config (just like "People", "Media" and "System").

I tried copying and modifying the relevant lines from modules/user/user.module but my block doesn't show and directly going to the link admin/config/mysite results in an access denied message.

The sub pages appear directly under the Administration &gt; Configuration menu in the Administration module (but not in the page admin/config.)

Any idea how to fix this?

$items['admin/config/mysite'] = array(
  'title' =&gt; 'My Site',
  'description' =&gt; 'Configure My Site settings.',
  'position' =&gt; 'left',
  'weight' =&gt; -20,
  'page callback' =&gt; 'system_admin_menu_block_page',
  'access arguments' =&gt; array('access administration pages'),
  'file' =&gt; 'system.admin.inc',
  'file path' =&gt; drupal_get_path('module', 'system'),
);

$items['admin/config/mysite/page1'] = array(
  'title' =&gt; 'Sub page 1',
  'page callback' =&gt; 'drupal_get_form',
  'page arguments' =&gt; array('mysite_admin_1'),
  'access arguments' =&gt; array('access administration pages'),
);

$items['admin/config/mysite/page2'] = array(
  'title' =&gt; 'Sub page 2',
  'page callback' =&gt; 'drupal_get_form',
  'page arguments' =&gt; array('mysite_admin_2'),
  'access arguments' =&gt; array('access administration pages'),
);
I have solved my own problem. The reason the links appeared where they did and not under my new block is that I've moved existing items to a new location, which means they were still in the original location in the menu configuration screen. Moving them manually to their correct location solved the problem.