Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2009
    Location
    North Seattle, Washington area
    Posts
    4
    Plugin Contributions
    0

    Default "Congratulations" text a problem

    I am using version 1.3.8a with security patch correctly installed.

    Seems like I think I have read just about everything and still have found no solution.

    The text "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution." for some reason will not be replaced.

    For some reason I am not understanding the instructions for creating overrides because my efforts on that issue are not working.

    I did replace the 2 lines of "Congratulations" text on includes/languages/english/index.php and uploaded the page and still no change has happened. The page seems to be getting the text from some where else.

    Thank you for your help.

    Can someone please tell me what it is I am doing wrong?

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: "Congratulations" text a problem

    This list is a bit outdated, but it'll give you an idea where to start to create a very basic custom template (you can build from there):
    • 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 and header text)
    • includes/templates/YOUR_TEMPLATE/template_info.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_header.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/images/logo.gif (or .jpg or .png)
    • 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.

    Note: if you've changed the height of the logo in header.php, you may need to change it in your stylesheet as well:

    #logoWrapper{
    background-image: url(../images/header_bg.jpg);
    background-repeat: repeat-x;
    background-color: #ffffff;
    height:75px; <-adjust this line if necessary
    }


    Are you certain you uploaded the changed file to the correct folder? Are the permissions set correctly? What did you use to edit the file? What did you use to upload 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.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Oct 2009
    Location
    North Seattle, Washington area
    Posts
    4
    Plugin Contributions
    0

    Default Re: "Congratulations" text a problem

    Hi,

    I am using BBEdit. Have used this program for years and never had an issue.

    I used Fetch to upload the file. I have used this program for years with no issues. Both programs are considered among the best for Mac users.

    When I edited the file index.php I replaced it in the same folder it came from (includes/languages/english/).

    I did checked the permissions and found them to be correct.

  4. #4
    Join Date
    Oct 2009
    Location
    North Seattle, Washington area
    Posts
    4
    Plugin Contributions
    0

    Default Re: "Congratulations" text a problem

    Hi Mary Ellen,

    I was reading your words agains and then things I have read else where on the form struck me a bit odd so I went back to the folder with my ftp program. In order to make changing things back easy on me when I am making changes to a file is that instead of deleting a file before replacing that file I change its name so that if my changes do not work I can simply change the name of the original file and I am back to where I began.

    I deleted that index.php file which I had renamed index-original.php.

    Deleting that file caused the changes in the new file - index.php - to be recognized.

    Now that seems really weird to me that index-original.php would be used instead of index.php. But that is the situation because now the changes are being used.

    Thank you for your help.

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: "Congratulations" text a problem

    That is odd. I know that happens with css files, but I hadn't heard of it happening with php files.

    Please check the Tutorials/FAQ about the template/override system. Modifying the files in the original folders will cause issues when upgrading/updating Zen Cart. You will either lose all your changes or have to go through each file to find what changed before upgrading/updating. It's much easier if you follow the template/override system to isolate your changes so you know exactly what files to compare.
    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

  6. #6
    Join Date
    Oct 2009
    Location
    North Seattle, Washington area
    Posts
    4
    Plugin Contributions
    0

    Default Re: "Congratulations" text a problem

    Thanks for your suggestions.

    I tried the overrides method and failed. Maybe I failed for the same reason I had problems before. I definitely intend to do the overrides because I like an easy life and realize life will not be easy when updating if I stick to original files.

    Thanks again for your help.

 

 

Similar Threads

  1. v151 how to remove text "Congratulations! You have..." from the "TEXT_MAIN"?
    By X-youth gone willd in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Dec 2014, 05:33 PM
  2. Replies: 11
    Last Post: 31 Mar 2010, 01:06 PM
  3. Deleting "Congratulations!" and "Welcome Guest!" Lines
    By Drewster in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 22 Jan 2008, 05:47 AM
  4. Need help changing text size for: "Congratulations" & "Welcome Guest" on main page
    By STFlats in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 16 Apr 2007, 04:32 AM
  5. Removing the "Congratulations! You have successfully in.." text from main page
    By chufty bill in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Aug 2006, 02:07 PM

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