title: How to make a template overwrite for mod_menu with alternative layouts for link outputs?
body: <p>I understand and love template overwrites.  I need to do some heavier changes to the menu output (basically making the output work better with Bootstrap) - but only for certain menus.</p>
  
  <p>Currently in Joomla 3 there are the following in the <code>mod_menu/tmpl</code> folder:</p>
  
  <pre><code>default.php
  default_component.php
  default_heading.php
  default_separator.php
  default_url.php
  </code></pre>
  
  <p>If I want to change the classes I'd copy the default.php into my <code>mytemplate/html/mod_menu</code> and change it.  Great, no problem.</p>
  
  <p>If I want to change the link outputs to go along with that I can copy the default_component.php to <code>mytemplate/html/mod_menu</code> and change it.  Great, no problem.</p>
  
  <p>If I want to have the choice of having a different "Alternative  Layout" I'd rename the <code>mytemplate/html/mod_menu/default.php</code> to <code>newlayout.php</code>, then select it in the admin module manager for that menu.  Great, no problem.</p>
  
  <p>Here's the problem:  If I want to have the link output changed for certain menus but not all of them I figure I'd change <code>default_component.php</code> to <code>newlayout_component.php</code> like I did above which would correspond to the <code>newlayout.php</code>...but that doesn't work.</p>
  
  <p>Questions:</p>
  
  <p>1)  How to have alternative layouts for each of the <code>default_component.php</code>, <code>default_heading.php</code>, <code>default_separator.php</code>, <code>default_url.php</code> template files (not just an overwrite)?</p>
  
  <p>2)  I would think <code>default_url.php</code> is the one that would affect the link outputs but it seems it's <code>default_component.php</code> that does.  So what does each one of those do?  I couldn't find any information on joomla.org about that.</p>
  
  <p>Thanks!</p>