title: Retrieve Url of category on Magento when creating a custom menu
body: <p>I am trying to create a custom drop-down-menu with only few specific categories and their respective subcategories. So far I managed to retrieve the Names of the subcategories but links won't work.</p>
  
  <p>I also need to make the main category retrieve its own name and URL automaticly in case it is changed on the back-end of Magento. In this case the category id is 265.</p>
  
  <p>The website I am working on is www.personalproducts4u.co.uk</p>
  
  <pre><code>&lt;li class="eight"&gt;&lt;a href="&lt;?php echo $this-&gt;getUrl() ?&gt;index.php/contacts"&gt;Hotel Products&lt;/a&gt;
   &lt;?php $children = Mage::getModel('catalog/category')-&gt;getCategories(265); ?&gt;
   &lt;ul&gt;
   &lt;?php foreach ($children as $category): ?&gt;
   &lt;li&gt;
   &lt;a href="&lt;?php echo $category-&gt;getUrl ?&gt;"&gt;
   &lt;?php echo $category-&gt;getName(); ?&gt;
   &lt;/a&gt;
   &lt;/li&gt;
   &lt;?php endforeach; ?&gt;
   &lt;/ul&gt;
   &lt;/li&gt;
  </code></pre>