If you don't have any experience in html/php/css etc you don't need to be reading this.
Assuming your zen cart directory is /zencart create the following BLANK files. Nothing should be in these .php files. YourTemplateName should be replaced with the name of the template. The sideboxes.php file is OUTSIDE of the template directory. For some reason I can't get it to show up when making a sidebox directory in the template folder. Maybe someone can help.
/zencart/includes/modules/sideboxes/sidebox.php
/zencart/includes/templates/YourTemplateName/common/tpl_footer.php
/zencart/includes/templates/YourTemplateName/common/tpl_header.php
/zencart/includes/templates/YourTemplateName/common/tpl_main_page.php
Now, go into the admin control panel and select your new template. Then go to tools-Layout Boxes Controller
click Reset button at the bottom. Then TURN OFF everything but the sidebox.php file. Turn that box on. It can be on the left or right (your preference). Now if you don't want a sidebox just don't do this. Turn everything off and you will just have a header, middle section, and footer. If you don't want a footer then just leave the footer file blank but you need to have one. It will by default be transparent.
At this point you are ready to go. You need to slice up your photoshop file however you like it. Just make sure you slice it up in a manner you can put the top in the header, bottom in the footer etc using div tags which is the most common way now. It is just that simple. Use the css file in the css folder to change the fonts, background colors/images, etc. As far as custom pages..haven't gotten that far yet. This is just describing the basic template structure from photoshop to zencart.
One last point is you need to make all images hard linkes. I haven't figured out the CONSTANT yet that declares the base directory. If someone knows please let me know. Thanks.


Reply With Quote
