title: Magento brands by categories: show brand link
body: <p>I'm setting up a webshop for a client in Magento.
  He works a lot with very specific brands, so I wanted to make specific brands pages (for SEO purposes).</p>
  
  <p>I followed the suggestion mentioned here: <a href="https://stackoverflow.com/questions/6292448/magento-shop-by-brands">Mangento Shop By Brand</a> to make categories out of brands.
  It all works great, I can access my pages like <code>example.com/brands/brandname</code>.</p>
  
  <p>But now, when in a products view, I want to link to that brand page.
  How can I get a list of the categories for that product, or even the specific subcategory.
  I thought about filtering categories by their parent_id (my brands page itself). But haven't got a clue how to go about doing it.
  I found som info <a href="https://stackoverflow.com/questions/3521021/magento-list-products-categories">here</a> but doesn't seem to work for my Magento (1.4.1.1)</p>