Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / installing a new template

installing a new template

Locked

Views: 2,462

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
20 Aug 2008, 2:37 PM
#1
dvdd127 avatar

dvdd127

New Zenner

Join Date:
Sep 2007
Posts:
74
Plugin Contributions:
0

installing a new template

I am looking for a tutorial of some sort that will assist me in installing a new template.

I am not designing the template.. it was designed by someone else I just need to install it.

Thanks in advance.

20 Aug 2008, 2:42 PM
#2
afo avatar

afo

Totally Zenned

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

Re: installing a new template

Where did you get the template? Is there's a "read me" with it? If it was designed to work with Zen Cart, the files/folders should be in the correct directories and should be uploaded to the corresponding directories on your website.

For example, if the template includes includes/languages/YOUR_TEMPLATE/english.php, the YOUR_TEMPLATE folder should be uploaded to includes/languages.

20 Aug 2008, 5:18 PM
#3
dvdd127 avatar

dvdd127

New Zenner

Join Date:
Sep 2007
Posts:
74
Plugin Contributions:
0

Re: installing a new template

Sorry, I was misinformed by my partner what I am actually doing is copying a custom template from one site to another site.

What is the easiest way to do this?

Thank you in advance.

20 Aug 2008, 5:28 PM
#4
afo avatar

afo

Totally Zenned

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

Re: installing a new template

If the override system was followed correctly, what I said earlier applies - with the exception of the "read me". Locate the custom folders and copy them to the new website. Your best bet is probably to FTP the information from the current site to your computer and then upload it from your computer to the new site.

20 Aug 2008, 5:32 PM
#5
dvdd127 avatar

dvdd127

New Zenner

Join Date:
Sep 2007
Posts:
74
Plugin Contributions:
0

Re: installing a new template

The issue is we are not the ones who created the custom theme on the other site and the person who created the custom theme on the other site got lost so we dont know what files were edited.

What do you suggest we do to make sure everything is copied correctly?

Thank you in advance

20 Aug 2008, 5:42 PM
#6
afo avatar

afo

Totally Zenned

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

Re: installing a new template

If the person who created the template did it correctly, there will be folders containing all the changed files. Otherwise, it'll be nearly impossible to find the changes. If you have access to the admin, check what template is in use by using tools > template selection to see the name of the active template.

20 Aug 2008, 6:05 PM
#7
dvdd127 avatar

dvdd127

New Zenner

Join Date:
Sep 2007
Posts:
74
Plugin Contributions:
0

Re: installing a new template

Thank you for your help thus far.

The reason we are moving the theme to a new site is because we only have FTP access to the old site.

We know for sure that the theme is in the custom folder on the old site.

What I need direction where to go to learn how to set up an overrides system on the new site.. and a list of all the different locations where template files for the custom template that is on the old site could be located so I can be sure to get everything.

Thank you.

20 Aug 2008, 6:25 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: installing a new template

Actually, the theme (usually called 'template' in Zencart is in multiple custom folders.

Check the tutorials/FAQ at the top of this page, especially:

https://www.zen-cart.com/tutorials/index.php?article=230

and
**
https://www.zen-cart.com/tutorials/index.php?article=142**

to start.

Also the WIKI here:

http://www.zen-cart.com/wiki/index.php/Customisation

If you can view the old site in a browser, viewing the page source will tell you what the custom template's folders names are,

as here: <link rel="stylesheet" type="text/css" href="includes/templates/CUSTOM/css/stylesheet.css" />

20 Aug 2008, 6:39 PM
#9
dvdd127 avatar

dvdd127

New Zenner

Join Date:
Sep 2007
Posts:
74
Plugin Contributions:
0

Re: installing a new template

thank you for the tutorials
the wiki article is not loading though.

21 Aug 2008, 3:53 PM
#10
dvdd127 avatar

dvdd127

New Zenner

Join Date:
Sep 2007
Posts:
74
Plugin Contributions:
0

Re: installing a new template

ok. I followed all the tutorials and all we see after choosing the template and resetting layout boxes is a blank screen.

any ideas??

Thank you in advance.

21 Aug 2008, 4:35 PM
#11
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: installing a new template

There's a tutorial about blank pages here:

https://www.zen-cart.com/tutorials/index.php?article=82

If you could provide a link to the site, we might be able to see what the problem is.

21 Aug 2008, 5:10 PM
#12
dvdd127 avatar

dvdd127

New Zenner

Join Date:
Sep 2007
Posts:
74
Plugin Contributions:
0

Re: installing a new template

ok.. i followed the tutorial and now i get these errors!!

Notice: Use of undefined constant DOWN_FOR_MAINTENANCE_TYPE - assumed 'DOWN_FOR_MAINTENANCE_TYPE' in /var/www/vhosts/showbiz.com/httpdocs/adultstore/includes/init_includes/init_customer_auth.php on line 25

Notice: Use of undefined constant MODULE_PAYMENT_AUTHORIZENET_TESTMODE - assumed 'MODULE_PAYMENT_AUTHORIZENET_TESTMODE' in /var/www/vhosts/showbiz.com/httpdocs/adultstore/includes/init_includes/init_header.php on line 120

Notice: Undefined variable: zc_first_field in /var/www/vhosts/showbiz.com/httpdocs/adultstore/includes/templates/custom/common/tpl_main_page.php on line 44

Warning: main(includes/modules/header.php): failed to open stream: No such file or directory in /var/www/vhosts/showbiz.com/httpdocs/adultstore/includes/templates/custom/common/tpl_main_page.php on line 45

Warning: main(includes/modules/header.php): failed to open stream: No such file or directory in /var/www/vhosts/showbiz.com/httpdocs/adultstore/includes/templates/custom/common/tpl_main_page.php on line 45

Fatal error: main(): Failed opening required 'includes/modules/header.php' (include_path='.:') in /var/www/vhosts/showbiz.com/httpdocs/adultstore/includes/templates/custom/common/tpl_main_page.php on line 45

any ideas?

thank you in advance.

21 Aug 2008, 7:13 PM
#13
dvdd127 avatar

dvdd127

New Zenner

Join Date:
Sep 2007
Posts:
74
Plugin Contributions:
0

Re: installing a new template

I fixed the errors by uploading the header.php file (it accidentally got deleted) and deleting the local/configure.php file from my server that the tutorial told me to add.

Thanks for all your help.

21 Aug 2008, 7:48 PM
#14
dvdd127 avatar

dvdd127

New Zenner

Join Date:
Sep 2007
Posts:
74
Plugin Contributions:
0

Re: installing a new template

We found one problem..

The categories are not all showing up.

We went each of the categories to show up as they do on the original site... but it is only showing the first category. Links to both sites are below but note the second one is an ADULT site.

http://www.showbizexpendables.com/store/ - original site
http://www.showbiz.com/adultstore/ - new site

22 Aug 2008, 5:47 AM
#15
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: installing a new template

Go to Configuration > Layout Settings and make sure the field Categories - Always Open to Show SubCategories is set to 1.

22 Aug 2008, 2:15 PM
#16
dvdd127 avatar

dvdd127

New Zenner

Join Date:
Sep 2007
Posts:
74
Plugin Contributions:
0

Re: installing a new template

it is set to 1.. it only shows the first category though.

TIA

29 Oct 2008, 10:20 PM
#17
dizzydog avatar

dizzydog

New Zenner

Join Date:
Oct 2008
Posts:
27
Plugin Contributions:
0

Re: installing a new template

As a new user I must say they could not have possibly made it more confusing!!!

Why cant it just be like Wordpress, 1 click, upload, done.

I mean c'mon!!!

30 Oct 2008, 3:20 AM
#18
afo avatar

afo

Totally Zenned

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

Re: installing a new template

It's actually a fairly simple system. Like everything else, it has a learning curve.

30 Oct 2008, 6:27 AM
#19
gjh42 avatar

gjh42

Black Belt

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

Re: installing a new template

The template system could be made extremely simple for a novice to install, or it could be made extremely flexible and efficient to cover a multitude of situations. There is a certain amount of tradeoff required, and the Zen Cart devs have opted for considerable power.

Actually, a properly constructed template will be simple to install; creating a new template can be much more complex, depending on features desired.