title: Remove top navigation using ifconfig in magento
body: <p>I'm working on a module in which we have a configuration as "advanemenu/general/enabled"</p>
  
  <p>By using this config I am being able to add items conditionally to my magento frontend.</p>
  
  <p>Ex. </p>
  
  <pre><code>&lt;reference name="head"&gt;
       &lt;action method="addItem" ifconfig="advancemenu/general/enabled"&gt;&lt;type&gt;skin_css&lt;/type&gt;&lt;name&gt;css/advancemenu.css&lt;/name&gt;&lt;/action&gt;
  &lt;/reference&gt;
  </code></pre>
  
  <p>Now similarly I want to remove the top navigation if the config value is enabled.</p>
  
  <p>I tried the following but without any result...</p>
  
  <pre><code>&lt;remove ifconfig="advancemenu/general/enabled" name="catalog.topnav" /&gt;
  </code></pre>
  
  <p>Incase the ifconfig works with <code>&lt;action&gt;</code> then is there any way to remove top navigation using this method. </p>
  
  <p>Please help me if anyone knows how to do this.
  (Thnx in Advance)</p>