title: Drupal 7 and using custom templates with theme()
body: <p>I have a list of items in the default main-menu. I am trying to override the template so I may iterate over each item and custom template/theme the entire menu.</p>
  
  <pre><code>echo theme('links', array('links' =&gt; menu_navigation_links('main-menu', 0)));
  </code></pre>
  
  <p>main-menu is the default menu ID drupal provides. The first param to theme is telling it to use the default "links" template - this much I understand. How do I tell it to use MY mainmenu.tpl.php that resides in mytheme directory?</p>
  
  <p>I have tried creating a file named <code>mainmenu.tpl.php</code> and calling it with </p>
  
  <pre><code>theme('links__mainmenu.tpl.php')
  </code></pre>
  
  <p>So as to provide a fallback to default links in case <code>mainmenu.tpl.php</code> should every disappear. I am naming the files wrong or something and I cannot for the life of me figure it out. Help :)</p>
  
  <p>Cheers,
  Alex</p>