Post by Monikaelise » Tue Feb 24, 2009 9:31 am

I am not a programmer. I have a basic knowledge of HTML and can use Dreamweaver to make websites. I want to create a new template for my store. Should I even attempt it? I am looking around at all the files within files within files and getting very scared. Please be honest, I don't want to attempt this unless there is an easy way to do it. Thanks all.

Newbie

Posts

Joined
Wed Jan 28, 2009 1:39 pm

Post by nde » Tue Feb 24, 2009 11:50 am

I would say it's possible with basic knowledge of HTML. So let's say if you can code a website by hand, using any text editor, it's very easy. But if you rely on Dreamweaver to make a website, I'd totally abstain from it and learn HTML first.

The layout for the frontend is pieced together using templates.
Look into this folder: /opencart/cart/template/default
There you'll find various template files, names of them are self explanatory. The cart script grabs these files and pieces them together (puts the code parts to the according places of the page).

Btw, HTML is not a programming language. It's a language to mark up documents, which are usually styled with CSS.

nde
New member

Posts

Joined
Sat Jun 30, 2007 7:32 am

Post by Blueforce » Tue Feb 24, 2009 9:39 pm

Hi nde,

I don't think thats the right place for the templates...
In 1.x version (which I assume you are talking about sice this is the 1.x forum) the templates are in:
/catalog/view/template/

And in 0.x you find them in:
/catalog/template/default/

This is just my thought... but to not confuse people please post version 1.x and 0.x in there right forum. Because there are one forum for each one. - Just my 2 cents!

Regards,
Leffe

New member

Posts

Joined
Thu Feb 12, 2009 7:11 am
Location - Sweden

Post by nde » Wed Feb 25, 2009 3:28 am

Hi Leffe,
that was just a little mistake of mine. You're right, template files for 1.x are in:
/opencart/catalog/view/template

nde
New member

Posts

Joined
Sat Jun 30, 2007 7:32 am

Post by tifosi » Wed Feb 25, 2009 3:38 am

The key to it really is from similar experience to code the individual pages into mockups
1. decide on the wireframe structure that flows through all the pages
2. create mockups with 1 of the home/cart etc pages withy valid XHTML (strict if poss)
3. tidy up the code into relevent sections with div wrappers
4. split the whole into the relevent view templates
5. tidy up the looping sections where OC will fill in variables

OC should do the rest. Wordpress is similar - in a different structure

S

New member

Posts

Joined
Tue Feb 17, 2009 8:14 am
Who is online

Users browsing this forum: No registered users and 36 guests