title: Adding a layout block to footer in Magento
body: <p>I have created a .phtml file at /app/design/frontend/mytemplate/default/template/page/html/footer.cat.links.phtml</p>
  
  <p>which at the moment simply contains 1 html div, with some text in it.</p>
  
  <p>I'm trying to add this to the footer but I've not toyed around with the layout xml before.</p>
  
  <p>So, I opened up /app/design/frontend/mytemplate/default/layout/page.xml, and tried adding:</p>
  
  <p><code>&lt;block type="catalog/navigation" name="footer.cat.links" as="footerCatLinks" template="page/html/footer.cat.links.phtml" /&gt;</code></p>
  
  <p>(Type is "catalog/navigation" as I intend to get this to work: <a href="http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/catalog/getting_and_using_categories_and_subcategories" rel="nofollow">http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/catalog/getting_and_using_categories_and_subcategories</a>)</p>
  
  <p>I put it just inside the footer block like this:</p>
  
  <p><code>&lt;block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml"&gt;&lt;my block here&gt;&lt;/block&gt;</code></p>
  
  <p>Then in footer.phtml, I have tried to call the new block with:</p>
  
  <p><code>&lt;?php $this-&gt;getChildHtml('footerCatLinks') ?&gt;</code></p>
  
  <p>I've refreshed the cache etc. but it doesn't add the html div in footer.cat.links.phtml when I view in browser.</p>
  
  <p>I finally thought I was getting my head around Magento a bit, but from my understanding of the documentation this should work! How wrong am I?</p>