title: Adding code to end of Joomla menu module (mod_mainmenu)?
body: <p>I would like to add code to a menu by modifying the Joomla <code>mod_mainmenu</code> module in Joomla 1.5 and I just need a standard "list" type menu.</p>
  
  <p>This is the standard output:</p>
  
  <pre><code>&lt;div class="moduletable"&gt;
  &lt;ul class="menu"&gt;
      &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Link&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Link&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Link&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p></p>
  
  <p>I want it structured like this:</p>
  
  <pre><code>&lt;div class="moduletable"&gt;
  &lt;ul class="menu"&gt;
      &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Link&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Link&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Link&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;span class="justify"&gt;&lt;/span&gt;
  </code></pre>
  
  <p></p>
  
  <p>As you see, I want to add the span tag with the justify class. I do this is to make my <code>ul</code> menu with floats, justify correctly. </p>
  
  <p>Could someone explain to me what, where and in which file, I need to add the needed code to?</p>
  
  <p>I am also interested in other methodologies to do this without altering the module code if anyone can link me to example of this?</p>