title: Magento restore custom top navigatoin bar to default top navigation
body: <p>i'm using a theme that has a function of <code>custom menu</code> you can check this menu functionality from one premium theme <a href="http://www.emthemes.com/demo/#magento-theme-sunglasses-store-em0022" rel="nofollow">http://www.emthemes.com/demo/#magento-theme-sunglasses-store-em0022</a> 
  There is no top.phtml file in my theme it's calling all menus through widget incorporated in cms block. This custom menu widget is not compatible to 1.7 so it's not functioning well in my store.</p>
  
  <p>So far i edited my header.phtml file, from</p>
  
  <pre><code>&lt;div class="nav-content"&gt;&lt;div class="nav-container"&gt;
  &lt;?php if ($this-&gt;getIsHomePage()):?&gt;
      &lt;h1 class="logo"&gt;&lt;strong&gt;&lt;?php echo $this-&gt;getLogoAlt() ?&gt;&lt;/strong&gt;&lt;a href="&lt;?php echo $this-&gt;getUrl('') ?&gt;" title="&lt;?php echo $this-&gt;getLogoAlt() ?&gt;" class="logo"&gt;&lt;img src="&lt;?php echo $this-&gt;getLogoSrc() ?&gt;" alt="&lt;?php echo $this-&gt;getLogoAlt() ?&gt;" /&gt;&lt;/a&gt;&lt;/h1&gt;
      &lt;?php else:?&gt;
      &lt;a href="&lt;?php echo $this-&gt;getUrl('') ?&gt;" title="&lt;?php echo $this-&gt;getLogoAlt() ?&gt;" class="logo"&gt;&lt;strong&gt;&lt;?php echo $this-&gt;getLogoAlt() ?&gt;&lt;/strong&gt;&lt;img src="&lt;?php echo $this-&gt;getLogoSrc() ?&gt;" alt="&lt;?php echo $this-&gt;getLogoAlt() ?&gt;" /&gt;&lt;/a&gt;
      &lt;?php endif?&gt;
  &lt;?php echo $this-&gt;getChildHtml('cms_mainmenu') ?&gt;&lt;/div&gt;&lt;/div&gt;
  </code></pre>
  
  <p>to</p>
  
  <pre><code>&lt;div class="nav-content"&gt;&lt;div class="nav-container"&gt;
  &lt;?php if ($this-&gt;getIsHomePage()):?&gt;
      &lt;h1 class="logo"&gt;&lt;strong&gt;&lt;?php echo $this-&gt;getLogoAlt() ?&gt;&lt;/strong&gt;&lt;a href="&lt;?php echo $this-&gt;getUrl('') ?&gt;" title="&lt;?php echo $this-&gt;getLogoAlt() ?&gt;" class="logo"&gt;&lt;img src="&lt;?php echo $this-&gt;getLogoSrc() ?&gt;" alt="&lt;?php echo $this-&gt;getLogoAlt() ?&gt;" /&gt;&lt;/a&gt;&lt;/h1&gt;
      &lt;?php else:?&gt;
      &lt;a href="&lt;?php echo $this-&gt;getUrl('') ?&gt;" title="&lt;?php echo $this-&gt;getLogoAlt() ?&gt;" class="logo"&gt;&lt;strong&gt;&lt;?php echo $this-&gt;getLogoAlt() ?&gt;&lt;/strong&gt;&lt;img src="&lt;?php echo $this-&gt;getLogoSrc() ?&gt;" alt="&lt;?php echo $this-&gt;getLogoAlt() ?&gt;" /&gt;&lt;/a&gt;
      &lt;?php endif?&gt;
  &lt;?php echo $_menu; ?&gt;&lt;/div&gt;&lt;/div&gt;
  </code></pre>
  
  <p>But still it's not working. So i went to my theme's <code>cms.xml</code> </p>
  
  <pre><code>&lt;reference name="header"&gt;
          &lt;block type="cms/block" name="cms_mainmenu"&gt;                
              &lt;action method="setBlockId"&gt;&lt;block_id&gt;mainmenu&lt;/block_id&gt;&lt;/action&gt;
          &lt;/block&gt;
  </code></pre>
  
  <p>I thought the problem is with this code.
  Did antone know how to overwrite this to show mt stores categories in fronend ?
  please give me your suggestions to do this.</p>
  
  <p>Thanks</p>