Articles for the ‘Magento Tutorial’ Category

Extend the use of links.phtml

In Add a CSS class to Magento menu links article we showed you how to add a CSS class to li or anchor tag in “action method=”addLink” that uses links.phtml, but you may not aware that you can use the same template file to extend a link block type. In this article we will show [...]

Don’t desert your 404 page

Spice up your magento store’s 404 page, don’t desert it Ideally, you should never let your visitor sees a 404 page. But accident happens and when it does, show your visitor something nice, useful, informative instead. First let’s see how other Magento stores do with their 404 page we randomly picked from the Magento showcase [...]

Add a CSS class to Magento menu links

Template file for link list menu Ever wonder or ever hit your head on the wall what bloody template file controls the site link, footer link in Magento and how to add a class to it? That’s right, it’s the page/template/links.phtml. The template file generates ‘first’ and ‘last’ class in li tag, but sometimes we [...]