title: Add custom Tab to user profile page Drupal 7
body: <p>I am trying to add two new tabs to the user account page at mysite.com/user on my Drupal 7 site. I want to add links to Add Photos node/add/photos and Add Videos node/add/videos but the following code for my module user_menu_add is not working for me:</p>
  
  <pre><code>function user_menu_add_menu() {
  
  $items['node/add/photos'] = array(
      'title' =&gt; t('Add Photos'),
      'page callback' =&gt; 'user_menu_add',
      'page arguments' =&gt; array(1),
      'access callback' =&gt; TRUE,
      'access arguments' =&gt; array('access user menu add'),
      'type' =&gt; MENU_LOCAL_TASK,
  );
  
  return $items;
  
  }
  </code></pre>
  
  <p>an example i have referenced is <a href="https://stackoverflow.com/questions/4192846/custom-menu-tabs-in-drupal-user-profile-page?rq=1">here</a> which works but only for links beneath the "/user" sub directory</p>
  
  <pre><code>function my_module_menu() {
  
  $items['user/%user/funky'] = array(
      'title' =&gt; t('Funky Button'),
      'page callback' =&gt; 'my_module_funky',
      'page arguments' =&gt; array(1),
      'access callback' =&gt; TRUE,
      'access arguments' =&gt; array('access funky button'),
      'type' =&gt; MENU_LOCAL_TASK,
  );
  
  return $items;
  
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/BujaV.png" alt="Current User Tabs"></p>