Adding the top.phtml navigation in a Magento CMS Page

Photo of author
Written By Ryan Rana





Sometimes it can be pretty frustrating trying to remember how to do something (start a blog like this – that’s what I do, these posts are for my benefit, if anyone else reads them it’s a bonus!). Like simply calling the top menu in Magento from a CMS page. I’m doing a Magento site which has the navigation in the home rendered differently from the rest of the site.

Simple task, but I couldn’t off the top of my head remember the block type. Try Googling it, if you find it quickly you are doing better than me. Anyway here it is, it was just catalog/navigation (D’oh). Simple, no need for a custom navigation template at all.

{{block type="catalog/navigation" template="catalog/navigation/top.phtml"}}

Leave a Comment