Zen Follower
- Join Date:
- May 2009
- Posts:
- 201
- Plugin Contributions:
- 0
Post #1 by ttmb33
How to remove "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution."? Thanks!
Started by ttmb33 on 28 Sep 2010, 5:45 PM · Views: 3,120
Zen Follower
How to remove "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution."? Thanks!
Black Belt
How to remove "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution."?
Congratulations! - - Learn to use the tutorial/FAQ's link above right
I searched for "Congratulations! "
https://www.zen-cart.com/tutorials/index.php?article=129
Zen-Venom Get Bitten
New Zenner
You could have easily told the man. I hate RTFM answers.
Mate, check in your zen cart folder, inside includes, inside languages, inside english, the index.php file.
Open it with some file editor (probably available in cPanel of your web host) and find the line:
define('HEADING_TITLE' .....
Change the text inside the "" to the one you want to show:)
And you are done!
Victor
Web Solutions
Solving problems, as usual!
Black Belt
Actually, kobra's answer wasn't RTFM - he gave the guy the direct link to the answer.
Most of us don't see the point to re-typing the tutorial in a reply every time someone asks so basic a question.
Totally Zenned
acedweb:
You could have easily told the man. I hate RTFM answers.
Mate, check in your zen cart folder, inside includes, inside languages, inside english, the index.php file.
Open it with some file editor (probably available in cPanel of your web host) and find the line:
define('HEADING_TITLE' .....
Change the text inside the "" to the one you want to show:)
And you are done!
You're done if you don't mind losing all your changes with the next upgrade/update. Besides, the editor available with your webmaster panel is the WRONG one to use to edit php files. You'll likely end up with blank pages using it.
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.
Zen Follower
I've noticed that if I remove any of the code that surrounds the Congrats text, in the custom index.php file, then Zen Cart will automatically revert to the code stored in the default includes/languages/english/index.php file (which I want to leave in its core state), or else the page breaks altogether.
So, to prevent the Congrats text -- from the custom/index.php file -- from displaying on-screen, is the best way then to delete all text between the single quotes (that does do the trick) or is removing that sort of define() element better accomplished by somehow "commenting out" that piece of code?
My attempts at commenting out that piece of code failed -- Zen Cart either reverted to the Congrats text in the core file or the page broke.
Deceased
stevesh:
Actually, kobra's answer wasn't RTFM - he gave the guy the direct link to the answer.
Most of us don't see the point to re-typing the tutorial in a reply every time someone asks so basic a question.
And especially not if the same question has been asked previously in this forum for numerous times - just scroll to the bottom of this page and you will find 5 identical threads.
NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Deceased
finlander:
.....
So, to prevent the Congrats text -- from the custom/index.php file -- from displaying on-screen, is the best way then to delete all text between the single quotes (that does do the trick) or ....
That is correct - no text between the single quotes removes the message from showing publicly, it then leaves an empty define and does not break anything.
NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
New Zenner
frank18:
That is correct - no text between the single quotes removes the message from showing publicly, it then leaves an empty define and does not break anything.
I understand what to do when u get the file open but excuse my total ignorance . I cant find where the file is.. do u do this in admin console or thru your web host manage files area?
I tried to do that once before and lost all the work i had done.. too scared to change things now
:lookaroun
Totally Zenned
The best way to edit php files is using a good text editor (like Notepad++ or Crimson Editor). You would do this by unzipping Zen Cart on your computer and doing your editing there. Use an FTP client like Filezilla to upload your changes to your site.
The advantage is you have a copy of your site on your local computer.
Don't forget to use the override/template system.
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.
Zen Follower
includes/languages/ENGLISH/index.php
Using Classic Template 1.3.9
Found includes/languages/ENGLISH
Next folders listed extra_definitions, html_includes, modules
Searched these files for text shown unable to locate.
Zen Follower
I got it right after another try. Thanks!
Tell staff why this post should be reviewed.