Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    red flag Instructions in docs don't work

    Zen Cart 1.5.8 and above:

    Open the includes/languages/english/lang.index.php file and find the following code:

    'HEADING_TITLE' => 'Congratulations! You have successfully installed your Zen Cart® E-Commerce Solution.', Replace the text starting “Congratulations” with your own text that is welcoming and describes your business.
    Make sure that the single quote marks at the beginning and end are not left out. If your text includes single-quotes (apostrophes) be sure to add a \ before them to “escape” them for proper PHP syntax.
    NOTE: There is a similar line that starts with 'HEADING_TITLE_NESTED', so be sure to replace both lines.
    I followed instructions and replaced text in both lines but text doesn't change. it is not a cache issue, tested in two browsers (Firefox and Chromium, refreshed and SOL).
    This must be coming from a different file, which one?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,542
    Plugin Contributions
    88

    Default Re: Instructions in docs don't work

    First, you should not be editing the 'base' file (the directions need to be updated). You should copy /includes/languages/lang.index.php to your template override version (/includes/language/YOUR_TEMPLATE/lang.index.php and then make the edits.

    Here's what I've done for a client:
    Code:
    <?php
    $define = [
    /*
        'TEXT_GREETING_GUEST' => 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?',
        'TEXT_GREETING_GUEST_SHOWCASE' => 'Welcome, please enjoy our online showcase.',
        'TEXT_GREETING_PERSONAL' => 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?',
        'TEXT_INFORMATION' => 'Define your main Index page copy here.',
        'TEXT_NO_PRODUCTS' => 'There are no products to list in this category.',
        'TEXT_NO_PRODUCTS2' => 'There is no product available from this manufacturer.',
        'TEXT_NUMBER_OF_PRODUCTS' => 'Number of Products: ',
        'TEXT_SHOW' => 'Filter Results by:',
        'TEXT_BUY' => 'Buy 1 \'',
        'TEXT_NOW' => '\' now',
        'HEADING_TITLE_PRODUCTS' => 'Available Products',
    */
        'HEADING_TITLE' => 'Welcome to Our Site!',
        'HEADING_TITLE_NESTED' => 'Welcome to Our Site!',
    ];
    
    return $define;

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,726
    Plugin Contributions
    124

    Default Re: Instructions in docs don't work

    The instructions in https://docs.zen-cart.com/user/new_u...ngratulations/ say

    > Save the edited file to includes/languages/english/YOURTEMPLATE/lang.index.php and upload it to your server.

    You probably have already created this file and but are still editing the base file.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Instructions in docs don't work

    Quote Originally Posted by swguy View Post
    The instructions in https://docs.zen-cart.com/user/new_u...ngratulations/ say

    > Save the edited file to includes/languages/english/YOURTEMPLATE/lang.index.php and upload it to your server.

    You probably have already created this file and but are still editing the base file.
    I guess I missed the last part of copying over base file to template override.
    My apologies

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,175
    Plugin Contributions
    11

    Default Re: Instructions in docs don't work

    Just a thought. Sometimes the problem is that the information may not be in your primary language.

    For those that are trying to get through the docs and English is not your first language, You can click on the accessibility icon on any page and click on the Select Language Dropdown. That will transform that page to the selected language.

  6. #6
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Instructions in docs don't work

    Quote Originally Posted by swguy View Post
    The instructions in https://docs.zen-cart.com/user/new_u...ngratulations/ say

    > Save the edited file to includes/languages/english/YOURTEMPLATE/lang.index.php and upload it to your server.

    You probably have already created this file and but are still editing the base file.
    I just double checked and both files have been edited, just in case, still changes do not show.
    Agreed that base file should not be edited, just copied over, but both are identical now.

  7. #7
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Instructions in docs don't work

    Quote Originally Posted by dbltoe View Post
    Just a thought. Sometimes the problem is that the information may not be in your primary language.

    For those that are trying to get through the docs and English is not your first language, You can click on the accessibility icon on any page and click on the Select Language Dropdown. That will transform that page to the selected language.
    Praise to the translationi effort, but that doesn't apply to my case.

  8. #8
    Join Date
    Jul 2012
    Posts
    16,739
    Plugin Contributions
    17

    Default Re: Instructions in docs don't work

    So is you use the developers tool kit to search the catalog side for:
    Congratulations!
    In what file(s) does it appear?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Instructions in docs don't work

    Quote Originally Posted by mc12345678 View Post
    So is you use the developers tool kit to search the catalog side for:
    Congratulations!
    In what file(s) does it appear?

    It was edited successfully, thanks!

  10. #10
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,726
    Plugin Contributions
    124

    Default Re: Instructions in docs don't work

    What exactly happened? I like to document common failure paths so people can figure out how to recover.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v157 Numinix Extra Field instructions don't show new fields on product pages
    By Joseph M in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 8 Apr 2021, 07:01 PM
  2. v151 What do I do when the instructions DON'T work for me!?
    By EricRas in forum Upgrading to 1.5.x
    Replies: 10
    Last Post: 8 Feb 2013, 07:07 PM
  3. Instructions: How to make shipping options work with google
    By MarcRTHCO in forum Addon Payment Modules
    Replies: 7
    Last Post: 30 Jul 2009, 02:30 AM
  4. how to set up the payment(read instructions already, but still don;t know)?
    By lina0962 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 12 Jun 2006, 07:15 PM

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