What is the correct way to add a link to a menu? I am using Drupal 7 and admin menu module. I would like to add a link to the content menu item so it would be Content
Content
Add Content
Comments
I created a custom module and in the menu hook I put:
$items['admin/content/add'] = null;
Then in the menu_alter hook I put:
$items['admin/content/add'] = $items['node/add'];
Now the menu link appears where I want and when I click browser takes me to the admin/content/add but instead of showing the different options for creating node there's a text saying: You have not created any content types yet. Go to the content type creation page to add a new content type.
If I go to node/add I can see the different options to add different nodes.
So my approach seems to be wrong. What would be the correct way of adding a link to existing path into admin menu?