Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / how do I change or delete 'congratulations, you have succe...'

how do I change or delete 'congratulations, you have succe...'

Locked

Views: 847

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
22 Jul 2008, 8:06 AM
#1
wern5821 avatar

wern5821

New Zenner

Join Date:
Jul 2008
Posts:
4
Plugin Contributions:
0

how do I change or delete 'congratulations, you have succe...'

I know this is covered in the most asked questions link but It isn't informative enough for newbies. Do I go into one of my php editors the change it and if so which one, I have a few different icons that have php in the title: phpmyadmin, phppgadmin, php config, and php pear packages. Which one do I go into and when in there, how do I get to where I need to edit. I know I need to find the index_php that has that 'congratulation...'

basically where do I go to edit this, php editor?, on my computer?, ftp?

aahhhh!!!

22 Jul 2008, 10:26 AM
#2
stevesh avatar

stevesh

Black Belt

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

Re: how do I change or delete 'congratulations, you have succe...'

The tutorials about editing files assume:

You have FTP access to the folders and files on your server.

You have an FTP client (if not, Filezilla is good, and it's free).

You have a text editor on your local computer (if not Notepad++ is good, and it's free).

So, connect to your remote server, using Filezilla.

Find the file(s) mentioned in the tutorial, and copy it to your local computer.

Open the file in Notepad++ and make your changes.

Save the edited file to your local computer (I have a special folder for each Zencart installation I work with just for this purpose).

Copy the edited file (using Filezilla) back to the proper override folder on the remote server.

Done.

As a general rule, you won't use any program in your host's control panel (CPanel, etc.) to work with Zencart, until you're advanced enough to start changing stuff in the database directly.

Also, it's a good idea to unzip the Zencart zip file onto your local computer and spend some time noodling around in the folders to familiarize yourself with the folder and file structure.

23 Jul 2008, 3:08 AM
#3
wern5821 avatar

wern5821

New Zenner

Join Date:
Jul 2008
Posts:
4
Plugin Contributions:
0

Re: how do I change or delete 'congratulations, you have succe...'

with your advice I was able to find and change the text with notepad and save it, but, when I up loaded it to the server and refreshed my website there were no changes. you mentioned override folder, where do I find it and how do I do it.

I assume I am not overriding and that is the problem, but I do not see an override option in my ftp

23 Jul 2008, 3:13 AM
#4
afo avatar

afo

Totally Zenned

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

Re: how do I change or delete 'congratulations, you have succe...'

The override is something you have to create. This tutorial will help explain https://www.zen-cart.com/tutorials/index.php?article=232.

This list is a bit outdated, but it might give you the general idea. YOUR_TEMPLATE should be replaced by whatever name you'd like to give your template. To create a very basic custom template (you can build from there), you need:

  • includes/languages/YOUR_TEMPLATE/english.php
  • includes/languages/english/YOUR_TEMPLATE/index.php
  • includes/languages/english/YOUR_TEMPLATE/meta_tags.php
  • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
  • includes/templates/YOUR_TEMPLATE/template_info.php
  • includes/templates/YOUR_TEMPLATE/common/tpl_header.php
  • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
  • includes/templates/YOUR_TEMPLATE/images/logo.gif
  • includes/templates/YOUR_TEMPLATE/css/stylesheet.css

Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

23 Jul 2008, 4:20 AM
#5
wern5821 avatar

wern5821

New Zenner

Join Date:
Jul 2008
Posts:
4
Plugin Contributions:
0

Re: how do I change or delete 'congratulations, you have succe...'

I still don't know how to create a override folder, I appreciate the attemped help but it all seems a little to complicated. I just want to change the 'congratulations...'
text, but I cant find it in any of my php files, why is it so complicated? I thought I saw it in there once but now I can't find it, I might have deleted the text already but I still have the other problem of not having the changes appear on my website once I have uploaded changes to the server.

23 Jul 2008, 8:19 PM
#6
afo avatar

afo

Totally Zenned

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

Re: how do I change or delete 'congratulations, you have succe...'

All you have to do is use your FTP program or your webmaster panel and create the folders (or directories, if you prefer) in the right places and upload/copy the modified files into them.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey