Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / template doesn't change!

template doesn't change!

Views: 1,233

Results 1 to 12 of 12
30 Mar 2011, 2:42 AM
#1
hamidz avatar

hamidz

New Zenner

Join Date:
Feb 2010
Posts:
14
Plugin Contributions:
0

template doesn't change!

Hi
I uploaded new template to the server and enabled it in admin (Template Selection) but the template doesn't change in front end.

What am I missing? That drive me crazy!
The Template Selection page is so Wacko!!:wacko: My new template is highlighted but when I go to layout boxes controller, the default template steel show at the bottom of the page (I tried several templates)

Thanks for your help.

30 Mar 2011, 1:13 PM
#2
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Re: template doesn't change!

you need to do this,
Then you copy the file called includes/templates/template_default/template_info.php, and put it inside includes/templates/CUSTOM/. Next, open includes/templates/CUSTOM/template_info.php

Under tutorials, search for new template.

30 Mar 2011, 4:20 PM
#3
hamidz avatar

hamidz

New Zenner

Join Date:
Feb 2010
Posts:
14
Plugin Contributions:
0

Re: template doesn't change!

I don't have any CUSTOM folder.

30 Mar 2011, 7:05 PM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: template doesn't change!

CUSTOM= the name of your custom template.

How many folders did you create for your custom template? How many files did you edit?

30 Mar 2011, 7:28 PM
#5
hamidz avatar

hamidz

New Zenner

Join Date:
Feb 2010
Posts:
14
Plugin Contributions:
0

Re: template doesn't change!

It is a template that I downloaded and it's called Template 241
It has:
\template241\includes\templates\241 and then these file system inside 241

-buttons
-common
-css
-images
-sideboxes
template_info.php

30 Mar 2011, 7:45 PM
#6
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: template doesn't change!

Are you sure about that path? It doesn't look right to me. I would expect it to look like \includes\templates\templatename

30 Mar 2011, 7:50 PM
#7
hamidz avatar

hamidz

New Zenner

Join Date:
Feb 2010
Posts:
14
Plugin Contributions:
0

Re: template doesn't change!

I downloaded here:
http://(sorry, site offline)/templates.html

At the bottom of the page: Template 241

30 Mar 2011, 7:56 PM
#8
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: template doesn't change!

There's definitely something odd about the path. If I do a view source while that template is in use, I get includes/templates/241/ as the path. I'm not sure why you have /template241/ at the beginning. I could be wrong, but I think that's at least part of the problem.

30 Mar 2011, 8:15 PM
#9
hamidz avatar

hamidz

New Zenner

Join Date:
Feb 2010
Posts:
14
Plugin Contributions:
0

Re: template doesn't change!

I checked the path is ok. But what should I do. Do I have to upload all 241 folder in includes/templates? and then what to do with template_info.php

I can't find a comprehensive simple tutorial to how change templates in Zencart. That's the first thing you want to do in Zencart. That's crazy!!:shocking:

30 Mar 2011, 9:56 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: template doesn't change!

I can't find a comprehensive simple tutorial to how change templates in Zencart
Changing them is done from the admin

You must mean "install" them...

As most all that I have seen are already in the ZenCart directory structure, it is a simple process of copying/uploading via some FTP Client to your server

This process is most like that of copying on a windows computer using explorer

Bottom line one needs to understand that to be able to use most FTP Clients

30 Mar 2011, 10:42 PM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: template doesn't change!

\includes\templates\241\buttons\etc is the format you should have for those template folders. The \template241\includes\templates\241\buttons\etc sounds like just a container for downloading, and as long as you upload the /includes/ folder inside that to the root of your site you will be ok.

31 Mar 2011, 1:10 AM
#12
hamidz avatar

hamidz

New Zenner

Join Date:
Feb 2010
Posts:
14
Plugin Contributions:
0

Re: template doesn't change!

It's working now! I am not sure what step I missed other times.
Thanks for you help. :smile: