Design

  • | |

    Adding a link to top.links in magento.

    I often need to add cms pages to the top links section of magento’s cms. The best way I’ve found to do this is in the page.xml document for your theme.  Where it says: [code language=”xml”] <block type="page/template_links" name="top.links" as="topLinks"/> [/code] Simply change it to: [code language=”xml”] <block type="page/template_links" name="top.links" as="topLinks"> <action method="addLink" translate="label title"><label>Home</label><url>/</url><title>Home</title><prepare/><urlParams/><position>1</position></action>…

  • | |

    Magento Themes

    Magento follows a pretty straight-forward templating structure.  Well, it’s straight forward once you get to know it.  It can be a little confusing at first to a html designer or someone who has worked in drupal or wordpress. The first thing to remember is that anything not defined falls back to base/default.  So if you…