title: Magento - getting the available filters for a category in top navigation
body: <p>I am developing with Magento 1.6.2.</p>
  
  <p>I want to display a drop down containg filters (colour, size etc) from my categories in my top navigation bar.</p>
  
  <p>So far (in /app/design/fontend/package/theme/template/catalog/navigation/top.phtml) I have:</p>
  
  <pre><code>&lt;ul&gt;    
  &lt;?php foreach ($this-&gt;getStoreCategories() as $_category): ?&gt;
  &lt;li&gt;&lt;a href="&lt;?php echo $this-&gt;getCategoryUrl($_category); ?&gt;" title="&lt;?php echo $this-&gt;htmlEscape($_category-&gt;getName()); ?&gt;"&gt;&lt;?php echo $this-&gt;htmlEscape($_category-&gt;getName()); ?&gt;&lt;/a&gt;
      &lt;?php $_filters = $this-&gt;getFilters() ?&gt;
      &lt;div&gt;
              &lt;?php foreach ($_filters as $_filter): ?&gt;
              &lt;dl&gt;
              &lt;?php if($_filter-&gt;getItemsCount()): ?&gt;
                  &lt;dt&gt;&lt;?php echo $this-&gt;__($_filter-&gt;getName()) ?&gt;&lt;/dt&gt;
                  &lt;dd&gt;&lt;?php echo $_filter-&gt;getHtml() ?&gt;&lt;/dd&gt;
              &lt;?php endif; ?&gt;
              &lt;/dl&gt;
              &lt;?php endforeach; ?&gt;        
      &lt;/div&gt;          
  &lt;/li&gt;
  &lt;?php endforeach ?&gt; 
  &lt;/ul&gt;
  </code></pre>
  
  <p>$this->getFilters() is not returning anything.
  How can I get the filters in the content of the category?</p>