Jump to content

Do I have to re-do my changes with the upgrade ?


Guest skekum

Recommended Posts

Guest skekum

I'm currnetly using version 3.0 and very happy with it. Slowly learning coding…and having some fun as well !

My question is: I've changed quite a bit to the look of the site. Apart from the skin i've been working on, i've changed other files in the "guts" of the directory such as messages which appear (lang.inc.php), and labels on the registration page. When I upgrade, will all these be lost ?

Just thought i'd ask so i can keep track of all the changes i'm making to make it faster when i change over to 3.0.2.

Skekum

Link to comment
Share on other sites

Guest vrakas

All files you have mod and have edited must be copied as they will be replaced.

I am trying to find out how to perform this upgrade without going from 3.00 to 3.01 to 3.02.

Still waiting :(

Link to comment
Share on other sites

Guest skekum

But if I copy the files I've changed then re-import them into the new cubecart, won't that be mixing 3.0 files with 3.0.2 files ?

How much "mixing" can you do with the older files ? :(

Thanks

Link to comment
Share on other sites

should really read the upgrade doc included with 3.0.2

it clearly states what files to NOT over write

which includes your language file if you have made changes to it which is the file you would have edited if you changed "lables"

/////////////////////////////

// CubeCart v3 3.0.1 to 3.0.2

// UPGRADE INSTRUCTIONS

/////////////////////////////

PLEASE TAKE A FULL BACKUP OF YOUR CURRENT SITE FILES AND

DATABASE DUMP BEFORE PROCEEDING WITH THE UPGRADE PROCESS

+------------------------------------------------

| Manual Method

+------------------------------------------------

  Upload every file to the server replacing your existing ones excluding:

includes/global.inc.php

install/

language/:(.inc.php (If they have been modified)

Please check your payment gateway settings and test appropriately. (Authorize.net & WorldPay Only)

IMPORTANT: If you have made changes to the templates and do not wish to lose your work please make the following changes.

1. Open skins/*/styleTemplates/content/cart.tpl

  +-------------------------------

  | Find (at around line 126):

  +-------------------------------

  <input name="quan[{VAL_PRODUCT_KEY}]" type="text" value="{VAL_QUANTITY}" size="2" class="textbox" style="text-align:center;">

 

  +-------------------------------

  | Replace with:

  +-------------------------------

  <input name="quan[{VAL_PRODUCT_KEY}]" type="text" value="{VAL_QUANTITY}" size="2" class="{TEXT_BOX_CLASS}" style="text-align:center;" {QUAN_DISABLED} />

 

2. Open  skins/*/styleSheets/style.css

  +-------------------------------

  | Add at the bottom:

  +-------------------------------

  .textboxDisabled {

   background-color: #FFFFFF;

   border: none;

   font-family: Verdana, Arial, Helvetica, sans-serif;

   font-size: 11px;

   color: #000000;

  }

 

Upgrade complete.

If you have modded files other than ones in the language folder or the skins folder before you UPGRADE you will need to run a program like WinMerge 2.2 to make sure any core files you edited are different or same

People could save themselves ALOT of time and brooky alot of hassle if they WOULD JUST READ THE DOCUMENTATION and directions...

And when you mod files keep a log of the files you have edited

and in each of those files include COMMENTS detailing what you modded and why.

Save yourself some trouble and valuable time when updates come out

this way you know what files you modded and why and what if anything you will need to mod in the current update files

Link to comment
Share on other sites

Guest EverythingWeb

Hello walter4,

Your question was answer one minute after you posted in http://www.cubecart.com/site/forums/index.php?showtopic=9936, which was three minutes before your post above.

If you have any *specific* questions regarding the upgrade, please ask in the thread above, other wise, the instructions are available in the following thread:

http://www.cubecart.com/site/forums/index.php?showtopic=9905

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...