Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2009
    Posts
    40
    Plugin Contributions
    0

    Default multilanguage banners

    My website is available in 3 languages.

    I have a banner showing on the mainpage and i would like this banner to be shown in the language selected.

    So basically I am trying to work something out that the header-position 1 banner is linked to the language.

    So what I need is:

    1 banner in Dutch, only showing when the Dutch flag is selected.
    1 banner in English, only showing when the UK flag is selected. By adding
    1 banner in German, only showing when the German flag is selected.

    I have tried to edit the tpl_header.php file.

    if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1))

    changed in:

    if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1 . $_SESSION['languages_id']))

    I added banner1: banner2: banner 3

    My language sort order is:
    Dutch: 1
    English: 2
    German: 3

    But it seems like the code is not linking the banner to the language, but just uses a random banner each time you refresh the page or select another language.

    Please please please could anyody help me out is this duable or is there already a module written for this? ( haven't found it and searched multiple times already )

    Thanks
    Chrissy

  2. #2
    Join Date
    Nov 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: multilanguage banners

    i could really use some help on this, and i think more people would like to know how this can be done.

    Strange thing that Zen-Cart is for multi lingual purposes but not everything is made for multi lingual functions

  3. #3
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: multilanguage banners

    Quote Originally Posted by FenG View Post
    i could really use some help on this, and i think more people would like to know how this can be done.

    Strange thing that Zen-Cart is for multi lingual purposes but not everything is made for multi lingual functions
    Look at this:
    http://www.zen-cart.com/forum/showpo...6&postcount=22
    I may be blond but at least I found Zen.

 

 

Similar Threads

  1. I have disabled all banners, yet banners still appear
    By Swampy Acres Farm in forum General Questions
    Replies: 10
    Last Post: 25 Feb 2013, 03:21 PM
  2. ez pages multilanguage
    By 100asa in forum General Questions
    Replies: 3
    Last Post: 6 Mar 2007, 10:22 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