Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2007
    Location
    Nijmegen, Netherlands
    Posts
    44
    Plugin Contributions
    0

    Default Language selection visible at all pages?

    Currently at my site (Zen Cart 1.3.7.1) the Language Selection box is visible at most pages, except for pages like checkout_shipping, checkout_payment.

    Is it possible to switch on the language selection box for all pages (so that customers can switch language during the checkout) ?
    If so, where can I configure that?

  2. #2
    Join Date
    Apr 2007
    Location
    Nijmegen, Netherlands
    Posts
    44
    Plugin Contributions
    0

    Default Re: Language selection visible at all pages?

    Does anyone know where to search for a solution (and what keywords to use)?

    Alternatively, would copying the code from the language module and include it hard coded in the template be a good idea?
    Kind Regards,
    Peter Martin, Joomla specialist
    www.db8.nl

  3. #3
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Language selection visible at all pages?

    /includes/modules/sideboxes/YOUR_TEMPLATE/languages.php
    around line 12 you have:
    Code:
    // test if box should display
      $show_languages= false;
    
      // don't display on checkout page:
      if (substr($current_page, 0, 8) != 'checkout') {
        $show_languages= true;
      }
    if you want to override the safety that prevents changing language during checkout, change that first false to true
    .

    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.

  4. #4
    Join Date
    Apr 2007
    Location
    Nijmegen, Netherlands
    Posts
    44
    Plugin Contributions
    0

    Default Re: Language selection visible at all pages?

    Great! Thank you very much!
    Kind Regards,
    Peter Martin, Joomla specialist
    www.db8.nl

  5. #5
    Join Date
    Apr 2007
    Location
    Nijmegen, Netherlands
    Posts
    44
    Plugin Contributions
    0

    Default Re: Language selection visible at all pages?

    BTW: before I changed the file, I made a backup of it in the same directory.
    After I successfully changed it, I deleted the backup file but it showed up in the "Column Boxes" for my template as missing.
    I had to delete the entry manually with phpMyAdmin in zen_layout_boxes, and now everything is fine.
    Kind Regards,
    Peter Martin, Joomla specialist
    www.db8.nl

 

 

Similar Threads

  1. v139h Make Admin language dropdown visible on all Admin pages?
    By abcisme in forum Customization from the Admin
    Replies: 2
    Last Post: 26 Jan 2020, 09:54 AM
  2. Delete flag selection language
    By aralelex in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Mar 2010, 07:32 PM
  3. Define Pages Editor Language Selection
    By designz in forum Customization from the Admin
    Replies: 2
    Last Post: 27 Nov 2007, 03:57 AM
  4. Paypal language selection
    By ChrisR in forum General Questions
    Replies: 0
    Last Post: 16 Nov 2006, 10:34 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