Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jul 2007
    Posts
    5
    Plugin Contributions
    0

    Default That how do I get rid of the "Congratulations!

    You have successfully installed..." text question again.

    I have tried the FAQ step by step instructions below:

    CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to the name of the template/language you are using.

    If you want to change "Congratulations! You have successfully installed your Zen Cart™; E-Commerce Solution" with your own text open the includes/languages/ENGLISH/index.php file and find the following code:
    // 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.');
    }
    Replace the text starting “Congratulations” with your own text. Make sure that the single quote marks are not left out.
    Save the edited file to includes/languages/ENGLISH/CUSTOM/index.php and upload it to your server.

    I have checked the wiki pages & tried again, perused all of the associated threads & tried again.

    I have set custom as my default template & changed everything else to my liking. Any suggestions to change this last sticky part?

  2. #2
    Join Date
    Sep 2005
    Location
    Hong Kong
    Posts
    307
    Plugin Contributions
    0

    Default Re: That how do I get rid of the "Congratulations!

    Do you mean you are using the default template that comes installed in Zen Cart? Is there a URI we can look at?

    Shirley :)

  3. #3
    Join Date
    Jul 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: That how do I get rid of the "Congratulations!

    Shirley,

    I made a new template but kept the name "custom". The url is http://www.dovetaildecor.com/SHOPPINGCART What is a URI?

    I realized that I had to remove the advice // 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!'*/
    .

    That took the "Congratulations" text out. However, I still can't replace it with anything. When I try, I get error on line 52 of index.php. and the shopping cart won't load in my browser at all.

    So, I put some new text in another way. header.php I think. As you can probably tell -- I'm learning as I go!

    Thank you for your help. Colleen.

  4. #4
    Join Date
    Sep 2005
    Location
    Hong Kong
    Posts
    307
    Plugin Contributions
    0

    Default Re: That how do I get rid of the "Congratulations!

    Hi Colleen,

    Actually I'm new to Zen Cart too, still got loads to learn, but let me see if I could try to help... :)

    Could you paste the entire /includes/language/english/custom/index.php file here so that we can all have a look?

    By the way, this explains what a URI is : http://en.wikipedia.org/wiki/Uniform...rce_Identifier

    But I actually meant to type URL :)

    Shirley

  5. #5
    Join Date
    Jul 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: That how do I get rid of the "Congratulations!

    Here it is. The part I changed is at the bottom & the text isn't showing as of now.

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: index.php 3027 2006-02-13 17:15:51Z drbyte $
    */

    define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');

    // Showcase vs Store
    if (STORE_STATUS == '0') {
    define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
    } else {
    define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');
    }

    define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');

    define('TEXT_INFORMATION', 'Define your main Index page copy here.');

    //moved to english
    //define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

    //define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
    //define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
    //define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

    if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
    // This section deals with product-listing page contents
    define('HEADING_TITLE', 'Available Products');
    define('TABLE_HEADING_IMAGE', 'Product Image');
    define('TABLE_HEADING_MODEL', 'Model');
    define('TABLE_HEADING_PRODUCTS', 'Product Name');
    define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
    define('TABLE_HEADING_QUANTITY', 'Quantity');
    define('TABLE_HEADING_PRICE', 'Price');
    define('TABLE_HEADING_WEIGHT', 'Weight');
    define('TABLE_HEADING_BUY_NOW', 'Buy Now');
    define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
    define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
    define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
    define('TEXT_SHOW', 'Filter Results by:');
    define('TEXT_BUY', 'Buy 1 \'');
    define('TEXT_NOW', '\' now');
    define('TEXT_ALL_CATEGORIES', 'All Categories');
    define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
    } elseif ($category_depth == 'top') {
    define('HEADING_TITLE', 'Welcome to Dovetail's Online Shop. Enjoy your visit!');
    } elseif ($category_depth == 'nested') {
    define('HEADING_TITLE', 'Welcome to Dovetail's Online Shop. Enjoy your visit!');
    }
    ?>

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: That how do I get rid of the "Congratulations!

    there is a complete article on this and a few other most asked questions in the wiki ( link above in the blue header ) look under custimization
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: That how do I get rid of the "Congratulations!

    Dovetail's
    The problem is the apostrophe. PHP doesn't like them by themselves.

    https://www.zen-cart.com/tutorials/i...hp?article=128 Pay particular attention to the section in green.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  8. #8
    Join Date
    Jul 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: That how do I get rid of the "Congratulations!

    Merlin, the article didn't answer my question. However, Kim, you did! What a simple little thing, an apostrophe. Thank you all for your help.

  9. #9
    Join Date
    Dec 2005
    Location
    SWFL
    Posts
    469
    Plugin Contributions
    0

    Default Re: That how do I get rid of the "Congratulations!

    PHP is picky about certain characters.

    You might want to use a program that "catches" syntax errors in coding. I use PHP Editor, it's a free program. I can't remember if Dreamweaver does it or not, I haven't used that in a while.

    HTH,
    Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

  10. #10
    Join Date
    Jul 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: That how do I get rid of the "Congratulations!

    I think I actually found the article merlinpa1969 gave me a heads up on. I will also try the PHP editor. Thank you everyone!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to get rid of the Congratulations! You have successfully installed your Zen Cart?
    By lilguppy in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 30 Oct 2010, 02:19 AM
  2. How to get rid of "Congratulations!..." on main page?
    By res in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Jun 2010, 12:56 AM
  3. I am trying to get rid of the congratulations you have successfully installed etc.
    By janfal in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 Dec 2009, 04:43 AM
  4. Front Page Editing how to get rid of the"Congratulations, you have successfully text
    By outlawcat in forum Templates, Stylesheets, Page Layout
    Replies: 33
    Last Post: 21 Apr 2009, 07:34 PM
  5. Get rid off "Congratulations...."
    By bjraines in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Sep 2006, 02:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR