Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Copy Overrides from 1.2.7

Copy Overrides from 1.2.7

Locked

Views: 1,389

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
21 Sep 2006, 3:24 PM
#1
tcustomgolf avatar

tcustomgolf

Inactive

Join Date:
Dec 2005
Location:
NY
Posts:
162
Plugin Contributions:
0

Copy Overrides from 1.2.7

Is there a problem copying my override directories from 1.2.7 to 1.3.5? I'm talking dirs like:

includes/languages/custom_template
includes/languages/english/custom_template, etc...

Have the default files like english.php, header.php changed so this is not possible and I would have to copy my edits into them??

21 Sep 2006, 4:18 PM
#2
tcustomgolf avatar

tcustomgolf

Inactive

Join Date:
Dec 2005
Location:
NY
Posts:
162
Plugin Contributions:
0

Re: Copy Overrides from 1.2.7

And will this apply to the define pages I already created, or do they have to be re-done using the EZPages feature?

21 Sep 2006, 4:28 PM
#3
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Copy Overrides from 1.2.7

Your template will not copy either - as is posted all over the forums, any 1.2.x template MUST be re-coded to work with 1.3.x series zen.

Your define pages you can copy in their entirety.

Hope that helps.

21 Sep 2006, 5:14 PM
#4
tcustomgolf avatar

tcustomgolf

Inactive

Join Date:
Dec 2005
Location:
NY
Posts:
162
Plugin Contributions:
0

Re: Copy Overrides from 1.2.7

Tina,

I'm talking about overrides to other parts of the site, like the header and footer.

I am aware that the css templates (stylesheets) have to be re-done within your custom template folder (which is my understanding)...but I'm trying to see if the directory override system can be ported...things like the header.php file for creating a custom header, etc.

Or am I missing the whole point together and all this in now under the template directory along with stylesheets, etc...

21 Sep 2006, 6:21 PM
#5
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Copy Overrides from 1.2.7

Take a look in your docs folder that came with the 1.3.5 distro for the change log
for 1.3.5. All changed files are listed there.

includes/languages/english.php was one that was changed. The define files
in html_includes were not changed.

Hope that helps narrow down what you need to edit.

21 Sep 2006, 6:30 PM
#6
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Copy Overrides from 1.2.7

You'll want to look at the changelog up to the current version starting at 1.3.0 hun - a LOT has changed since 1.2.7 and I believe (I haven't done a 1.2.7 site for a month or 2 now ) that header.php was also one of the changes.

You are going to find that a LOT of 1.2.7 won't merge well due to new file names, new DataBase entries, and new constants.

Your best bet would be to do as the docs recommend and use winmerge to find all the changes after you have identified the files using the changelogs.

21 Sep 2006, 7:27 PM
#7
tcustomgolf avatar

tcustomgolf

Inactive

Join Date:
Dec 2005
Location:
NY
Posts:
162
Plugin Contributions:
0

Re: Copy Overrides from 1.2.7

Thanks folks...

I just wanted to confim if alot of the base files have changed...sounds like they have, and I do have winmerge and will start comparing.

As for the define pages, I know it was mentioned that these can be moved, but doing custom pages in 1.2.x used the below directories to add data for custom static pages...so can all the files in these dirs be moved??

/includes/extra_datafiles/;
/includes/languages/english/html_includes/
/includes/languages/english/html_includes/custom_dir/;
/includes/modules/pages/

21 Sep 2006, 7:50 PM
#8
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,611
Plugin Contributions:
0

Re: Copy Overrides from 1.2.7

The custom pages that were added to the base install will not be affected directly by an upgrade, BUT you will need to compare your added to files to the pages they were based on. You may or may not have to change things.

21 Sep 2006, 7:51 PM
#9
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Copy Overrides from 1.2.7

I believe that those will move fine - since they are customized, the worst case is going to be if you find that those files call defines that have changed, and if that is the case you appear to know your stuff well enough to be able to track down those changes ;)

21 Sep 2006, 9:17 PM
#10
tcustomgolf avatar

tcustomgolf

Inactive

Join Date:
Dec 2005
Location:
NY
Posts:
162
Plugin Contributions:
0

Re: Copy Overrides from 1.2.7

As an FYI to all...I moved over the dirs above and all are showing in my admin define editor and seem to display on my site correctly...thanks again for making the upgrade a little easier!! ;-))