title: How to get the custom values and image in Magento in Topmenu?
body: <p>I'm using <strong>magento 1.7.0.2</strong>. I have add the custom value in database. But how to retrive the custom value and image in Topmanu. I have tried in below mentioned code in the palce of 'my_attribute' to replace my attribute, but i din't get the result. </p>
  
  <p><strong>Model: Mage_Catalog_Model_Observer</strong></p>
  
  <p><strong>Method: _addCategoriesToMenu()</strong></p>
  
  <p>$categoryData = array(</p>
  
  <pre><code>'name' =&gt; $category-&gt;getName(),
  'id' =&gt; $nodeId,
  //'url' =&gt; Mage::helper('catalog/category')-&gt;getCategoryUrl($category),
  'is_active' =&gt; $this-&gt;_isActiveMenuCategory($category),
  'my_attribute' =&gt; $category-&gt;getData('my_attribute') // Add our data in...
  </code></pre>
  
  <p>);</p>
  
  <p>When i print the array i'll get this,</p>
  
  <p>Array ( [name] => Matelas [id] => category-node-31 [is_active] => 1 [my_attribute] => )</p>
  
  <p>Can any one guide me, Thanks in advance...</p>