Forums / Installing on a Linux/Unix Server / Can I download and use templates for older version on current version?

Can I download and use templates for older version on current version?

Locked

Views: 2,467

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
13 Mar 2009, 8:12 AM
#1
ronron avatar

ronron

Zen Follower

Join Date:
Mar 2009
Posts:
125
Plugin Contributions:
0

Can I download and use templates for older version on current version?

I am first time to set up a shopping cart and know very little of comp, please bear with me. Can I download template v1.3.7 or v1.3.5 to v1.3.8 cart? And after the changes on the templates, how should I upload to server and view the changes?..I have tried to search from your web but cant find the answer.PLease help..Thanks..:dontgetit

13 Mar 2009, 11:29 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Can I download and use templates for older version on current version?

You need to FILE-COMPARE the files of the TEMPLATE, with their corresponding CORE FILES.

So...

  1. Unzip the template you are keen on, onto your hard drive.
  2. All of the files in the template will (or ought to) have a CORRESPONDING file in the default zencart software.
  3. Use a program like WINMERGE to compare the file in the custom template, with its counterpart file in zencart 1.3.8a

So if the 1.3.5 custom template file is:

includes/templates/CUSTOM-TEMPLATE/templates/tpl_product_info_display.php

You need to use WINMERGE to compare it with the 1.3.8a file it corresponds to:

includes/templates/template_default/templates/tpl_product_info_display.php

Winmerge will highlight all differences between the older 1.3.5 file and the 1.3.8a file.

Then, you make sure that code differences that show in the 1.3.8a file are "inserted" into the 1.3.5 file. This may (or may not) require that you "overwrite" the old/redundant code in the 1.3.5 file - you should have a basic knowledge of php in order to judge whether the "new" code is relevant.

When you've compared and edited all the 1.3.5 files in the custom template, the module should work.

20 years a Zencart User