Forums / Templates, Stylesheets, Page Layout / Getting Really Frustrated trying to remove "congratulations" message

Getting Really Frustrated trying to remove "congratulations" message

Locked

Started by justin_norcal on 14 May 2008, 5:43 PM · Views: 8,260

Results 21 to 32 of 32
This thread is locked. New replies are disabled.
14 May 2008, 8:43 PM
#21
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Getting Really Frustrated trying to remove "congratulations" message

replace the entire modules folder with a default set of files and folders,
this should fix your issue,

then please remember to modify the correct files,
there is a wiki and an FAQ at the top of this page that is great

Zen cart PCI compliant Hosting

14 May 2008, 8:44 PM
#22
justin_norcal avatar

justin_norcal

New Zenner

Join Date:
May 2008
Posts:
12
Plugin Contributions:
0

Re: Getting Really Frustrated trying to remove "congratulations" message

i put the index.php file in there. That is when it went nuts.

Merlinpa1969:

actually you didnt do what I told you

I said to put your modified index.php language file into

/includes/languages/english/TEMPLATE NAME/

that way it will pull the correct information,

ANY language file that you modify thats normally in the /english/ folder needs to go into this over rides folder.........

there was NO reason for you to even mess with the modules pages to do what you wanted to do,

a quick flip throught the FAQs at the top of the page would have givin you STEP by STEP instructions on removing the congratulations statement,

14 May 2008, 8:44 PM
#23
colemanpa avatar

colemanpa

Zen Follower

Join Date:
Oct 2007
Location:
Fairbanks, Alaska
Posts:
423
Plugin Contributions:
0

Re: Getting Really Frustrated trying to remove "congratulations" message

look and make sure there's a index.php file in your includes/languages/english/ directory.

14 May 2008, 8:48 PM
#24
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Getting Really Frustrated trying to remove "congratulations" message

WHAT index.php file did you put there,

was it a copy of
includes/languages/english/index.php?

Zen cart PCI compliant Hosting

14 May 2008, 9:25 PM
#26
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Getting Really Frustrated trying to remove "congratulations" message

Moderator note: Duplicate topics merged together

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 May 2008, 9:27 PM
#27
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Getting Really Frustrated trying to remove "congratulations" message

DrByte:

Your site isn't crashed ... it's still accessible on other pages except category listings: http://eurosunday.net/zcstore/index.php?main_page=products_new

That suggests that your index.php language file edits were not correct.

Justin:NorCal:

So if I post up my index file script can someone tell me what I am doing wrong

DrByte:

Well, yes, it's easier to see your changes when you post them, rather than guessing.

You might try posting the file contents, as you initially offered to do.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 May 2008, 5:08 PM
#28
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Getting Really Frustrated trying to remove "congratulations" message

I don't know about the errors Justin is getting but I can see where the frustration began: Take a look at the end of index.php:

define('TEXT_ALL_CATEGORIES', 'All Categories');
define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
// This section deals with the "home" page at the top level with no options/products selected
/Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'/
define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
/Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'/
define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
}
?>

You need to remove the phrase both times for it to take affect. I removed the bottom phrase repeatedly and thought I was going nuts before finally noticing this...

30 Jul 2008, 9:03 PM
#29
sarahmd avatar

sarahmd

New Zenner

Join Date:
May 2006
Posts:
24
Plugin Contributions:
0

Re: Getting Really Frustrated trying to remove "congratulations" message

Sorry to bring this back to life, but how do I know what my template file name is?

I see the following files in my english folder.

classic
extra_definitions
html_includes
images
modules

Slowly but surely....
Perfect Memories

30 Jul 2008, 10:18 PM
#30
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Getting Really Frustrated trying to remove "congratulations" message

Unless you created a template override folder then there isnt one there,

you might want to look in the wiki for setting up a template

Zen cart PCI compliant Hosting

31 Jul 2008, 11:58 AM
#31
stevesh avatar

stevesh

Black Belt

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

Re: Getting Really Frustrated trying to remove "congratulations" message

how do I know what my template file name is?

If you do create one or more templates, and forget which one you're running, you can check in Admin - Tools - Template Selection, or point your browser to your site, and check the page source for the name the stylesheet folder.

25 Feb 2010, 2:12 AM
#32
charity04 avatar

charity04

New Zenner

Join Date:
Feb 2010
Posts:
40
Plugin Contributions:
0

Re: Getting Really Frustrated trying to remove "congratulations" message

Thanks for the advice! i have followed the instructions and it work smoothly!:clap: