Post by carlos001 » Wed Nov 04, 2009 6:16 pm

My Firts Template!!
Dark For OpenCart 1.3.3.
I am no a master in php or coding for this you need rename the default template directory to for example (defaultback) and in the theme folder.
If anyone have recomendation is great receiving!! ;D
Image

Attachments

default dark for 1.3.3


New member

Posts

Joined
Sat Oct 31, 2009 5:12 pm

Post by carlos001 » Wed Nov 04, 2009 6:36 pm

I need change the color of the font of home see the image please.
where and how Please! ???

Image

New member

Posts

Joined
Sat Oct 31, 2009 5:12 pm

Post by thanaa » Wed Nov 04, 2009 10:17 pm

carlos001 wrote:My Firts Template!!
Dark For OpenCart 1.3.3.
I am no a master in php or coding for this you need rename the default template directory
Respectfully, that is not how you should go about doing that. Opencart has a template system in place that allows you to choose between templates. In this case if your template name is dark then all your reference paths need to refer to that, for example in common/header.tpl this:

Code: Select all

<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />
should be this:

Code: Select all

<link rel="stylesheet" type="text/css" href="catalog/view/theme/dark/stylesheet/stylesheet.css" />
the same for images you use etc. Here is why. In the admin section if all the user did was rename the default template to default_backup , the "backed up" template would still show up in the template drop down. But selecting it would not change the appearance of the site because your template is named default, just as the true default template is. All the backed up template files images and stylesheet references call /default/stylesheet.css etc. Therefore you've essentially broken the template selector in the admin section.

Beyond that, nice job though, it wouldn't take much at all to fix what i talked about and re-release it.
I need change the color of the font of home see the image please.
where and how Please! ???
add

Code: Select all

#breadcrumb a, #breadcrumb a:visited{
color:#fff;}
to the bottom of your stylesheet, i'd imagine that will fix it, i've not tested it but if my memory serves me correct that -should- do it.

New member

Posts

Joined
Tue May 05, 2009 2:12 am

Post by carlos001 » Thu Nov 05, 2009 5:34 am

Thanks so much is working!!!

i try to fix the links and the calls and add the png for my template. I am visual basic programer is some dificult for me read php. but if anyone have any documentation how is created a template. For example:
if i now in what files i find the links and and the calls i no need go file by file try to find all the links.
If anyone have any documentation for templates and opencart (technical). I can donate my time to upgrades the templates to the lastes versions.
Sorry my english O0
P.D. And one question al the ref and call is in this file for example i can replace default by dark in this file and this fix my problem?

New member

Posts

Joined
Sat Oct 31, 2009 5:12 pm
Who is online

Users browsing this forum: No registered users and 6 guests