Trying to make a custom Magento theme
This must be one of the hardest tasks I’ve tried so far. With my small e-commerce project I needed a CMS in the background and wanted to continue my testings of the Magento eCommerce platform.
Before I started the new project I had the design for the entire site coded in perfect CSS/xHTML and thought it would be easy to just hock it up to Magento. But boy was this a misstake, I have now read several hundred pages of the online documentation for Magento and so far I haven’t managed to get my new design working ontop of the CMS.
The biggest problem so far is the way the entire design is structured with XML and small snippets of HTML. Basically you store your HTML skeleton in the app/design/frontend/theme/default/template under different sub-categories. And then you have the rest of the structured in the app/design/template/frontend/theme/default/layout as blocks of XML that are calling for the html files.
It looks like this,
<block type=”page/html_notices” name=”global_notices” as=”global_notices” template=”page/html/notices.phtml” />
<block type=”page/html_header” name=”header” as=”header” template=”page/bimp/header.phtml”>
</block>
Okey it gets even weird’er when it comes to css and images, since they are stored in a different part of the three structured and called through a lot of different sets of rules.
I’m not a coder, I haven’t written a single line of code for more then three years. I should probably leave this to the professionals. So I will probably post this a new project on GAF if I don’t solve these issues before the weekend.
























You must be logged in to post a comment.