Post by fettabachi » Tue Sep 07, 2010 3:20 am

Hello,

As a new developer and a new OC user I am learning to alter the default files to customize the look of my site. The problem I'm having is keeping track of all the changes I'm making to the various files so that I can refer back to them when I perform upgrades or accidentally overwrite something. Can someone suggest an application or methodology to easily track this type of thing. Right now I'm on page 7 of my notes and I can see how this could get out of hand very easily.

Thanks
Last edited by fettabachi on Mon Sep 13, 2010 6:34 pm, edited 1 time in total.

User avatar
Newbie

Posts

Joined
Tue Aug 17, 2010 10:13 pm

Post by i2Paq » Tue Sep 07, 2010 1:19 pm

Before you make any change make a backup copy of files and db.
Create a directory structure of all the files from that copy you will change and keep that next to that copy.
Create a txt-file with what you have added (mods, modules etc) + a new buildno. in the admin-footer (1.4.9 build 3)

Now copy the changed files on top of your current install, see if it work.
If not, restore your back-up, if it does, proceed to the next change.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by fettabachi » Thu Sep 09, 2010 7:52 am

i2Paq wrote:Before you make any change make a backup copy of files and db.
It's too late. I've already made the changes but that's a great idea. I suppose I could do a re-install to get the original files.

Is there an application available for a Mac that I could use to compare 2 directories against one another in order to see what has changed?

Thanks

User avatar
Newbie

Posts

Joined
Tue Aug 17, 2010 10:13 pm

Post by i2Paq » Thu Sep 09, 2010 1:22 pm

I use a program called WinMerge, I have no clue if that will work in an Mac or if there is an equal program for a Mac.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by lotus » Thu Sep 09, 2010 6:29 pm

i2Paq wrote:I use a program called WinMerge, I have no clue if that will work in an Mac or if there is an equal program for a Mac.
I think there is a similar product called Filemerge for Mac.

New member

Posts

Joined
Fri Jul 16, 2010 9:50 pm

Post by jty » Fri Sep 10, 2010 8:36 pm

fettabachi wrote:
i2Paq wrote:Before you make any change make a backup copy of files and db.
It's too late. I've already made the changes but that's a great idea. I suppose I could do a re-install to get the original files.
No need to do a reinstall, just keep the original zip download. That has the virgin files

You could put comments in your code eg your initials/name as long as it's not common letters. Then you can run a global find on all your files to find where you've made changes. eg //fred. Then do a global search on fred.

Template changes are easy, follow the instructions in the documentation
http://www.opencart.com/index.php?route ... path=43_44

Never, ever, ever not do backups. And don't delete your backups like I do. That's too dumb of me :bang:

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by fettabachi » Mon Sep 13, 2010 6:32 pm

lotus wrote:
i2Paq wrote:I use a program called WinMerge, I have no clue if that will work in an Mac or if there is an equal program for a Mac.
I think there is a similar product called Filemerge for Mac.
While researching Filemerge for Mac I came across a free app from BBEdit called TextWrangler which will compare files or directories against one another.

User avatar
Newbie

Posts

Joined
Tue Aug 17, 2010 10:13 pm

Post by i2Paq » Tue Sep 14, 2010 1:14 am

fettabachi wrote:
lotus wrote:
i2Paq wrote:I use a program called WinMerge, I have no clue if that will work in an Mac or if there is an equal program for a Mac.
I think there is a similar product called Filemerge for Mac.
While researching Filemerge for Mac I came across a free app from BBEdit called TextWrangler which will compare files or directories against one another.
Thanks!

I've added it to the Tools page.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by fettabachi » Tue Sep 14, 2010 8:13 am

i2Paq wrote:
I've added it to the Tools page.
A link to the tools page would be much appreciated.

User avatar
Newbie

Posts

Joined
Tue Aug 17, 2010 10:13 pm

Post by i2Paq » Wed Sep 15, 2010 12:33 am

fettabachi wrote:
i2Paq wrote:
I've added it to the Tools page.
A link to the tools page would be much appreciated.
No can do, that page is Secret. :crazy:

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands
Who is online

Users browsing this forum: No registered users and 42 guests