Page 1 of 2 12 LastLast
Results 1 to 10 of 110

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Language/Currency Links in Header

    In response to a post asking how to put language flags/currency links in the header, I developed a mod that will allow you to do that. It allows the display of the language icons (flags) and/or currency symbols as links in the header navigation section so that the customer can select language/currency from there.

    The Language and Currency links can be turned on/off independently of each other from the Admin panel. The currency symbol is that set for the currency from Admin: the left symbol is used if one exists, otherwise the right symbol is used (as in the case of the Euro).

    The module (coded for Zen Cart v1.3.0 +) has been submitted to the downloads section, here
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  2. #2
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Language/Currency Links in Header

    Forgot to add - I left in the code from the currencies and languages sideboxes that prevents the links from showing on checkout pages. I'm sure the development team had a good reason for doing that, so I just left it in.
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  3. #3
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Language/Currency Links in Header

    Downloaded, installed, working fine
    I left in the code from the currencies and languages sideboxes that prevents the links from showing on checkout pages. I'm sure the development team had a good reason for doing that, so I just left it in.
    Also checked feature above, working correctly.
    Great contribution, thank you

  4. #4
    Join Date
    May 2005
    Location
    England
    Posts
    626
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    Hello all,

    I can confirm that this mod works on my site.

    Just a quick maybe stupid question, which css file and where is it best to place the css parts?

    #navCurrenciesWrapper a {
    color: #ffffff;
    text-decoration: none;
    }

    #navCurrenciesWrapper a:hover {
    color: #000000;
    text-decoration: none;
    }

    I tried stylesheet_new and stylesheet_old and it messed up the site. Any help would be gratefully appreciated.

    Regards,

    Russ

  5. #5
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Language/Currency Links in Header

    it should go into your main override stylesheet, although really it can go into any sheet that gets auto-loaded. There's nothing in that style code that will mess up a site.
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  6. #6
    Join Date
    May 2006
    Posts
    31
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    bunyip,

    Thank you for this contribution. Excellent work and just what I've been looking for! I do have a question for you. At this point, the language flags are next to the "Search" box on the right. I would like to position the flags right in the center of the header (both horizontally and vertically). What would be the best way to get that result? Thank you!

  7. #7
    Join Date
    Mar 2008
    Posts
    32
    Plugin Contributions
    0

    Idea or Suggestion Re: Language/Currency Links in Header

    How can I highlight the active or selected currency text in the header?

    I am using the Currency/Language mod provided by Bunyip.

    Thanks.

  8. #8
    Join Date
    Feb 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header are Doubled

    I am using Zen Cart 1.3.8a.
    I tried Language/Currency contribution.
    My Language gets doubled. One flag appears in a header, another one appears to be not in a right column but sort of higher, between the header and the main table.
    Tried to do it several times, the same thing happens.
    The one which appears in the right below the header is not the sidebox, because it is off in Admin.
    Can you guys help?

  9. #9
    Join Date
    Feb 2011
    Location
    Hong Kong
    Posts
    29
    Plugin Contributions
    1

    Default Re: Language/Currency Links in Header are Doubled

    I have a website with two languages, Chinese and English. I'm creating a responsive layout now, so I want to loose most of the clutter.

    For the languages I want to display only the language that is NOT active, so it is a switch button.

    I'm a newby...

    I've installed the currency language in header mod, and have tried to implement the solution from MarcWon, to show one flag only. Stripped the tpl_language_header.php as well as the modules/languages_header.php but I somehow either end up with a page only showing the stuff that's before the flags in the header, or with both flags.

    This is the solution that MarcWon said worked for his problem, but I cannot get it to work.

  10. #10
    Join Date
    May 2010
    Posts
    83
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header are Doubled

    Hi, is this module on the plugin page still compatible with the latest zen cart v1.5.1?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Language and Currency in the Header
    By jdes in forum General Questions
    Replies: 1
    Last Post: 13 Aug 2010, 04:38 PM
  2. Language and Currency in header
    By DocRocks in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 8 Nov 2009, 10:53 AM
  3. Error with 'Language/Currency Links in Header'
    By [email protected] in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 14 Mar 2007, 03:23 PM
  4. Error with 'Language/Currency Links in Header'
    By [email protected] in forum Customization from the Admin
    Replies: 1
    Last Post: 6 Feb 2007, 10:17 PM
  5. Replies: 0
    Last Post: 26 Jan 2007, 06:10 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