Page 1 of 11 123 ... LastLast
Results 1 to 10 of 102
  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
    Jun 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    Great mod - I wanted these in the header from the start but just found your contribution yesterday.

    I can't seem to get them lined up with the main nav. Tried switching placement of the code both in tpl_header.php and the style sheet. Even tried using a - top margin, but it just won't budge.

    What am I doing wrong?

    http://judysgems.com/ZenCart/

    Judy

  8. #8
    Join Date
    Oct 2006
    Posts
    51
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    Great mod, but i have a small problem.

    I need the first flag to be in about 50px from the right. I tried using Margin and Padding in the stylesheet and got the same results with both.

    If i use either, the first flag starts 50px in, but the 2nd flag is also 50px from the first flag.

    I need the 1st flag 50px in and the 2nd and 3rd flags a few px separation.

    Also, i can't get the flag to start a few px lower in the header. no matter margin or padding, it doesn't change higher or lower in position.

    can you help please

  9. #9
    Join Date
    Apr 2004
    Location
    Montreal
    Posts
    755
    Plugin Contributions
    1

    Default Re: Language/Currency Links in Header

    Is there a way for this to give a title tag of the currency or use the currency name in addition to the symbol?

    Works fine on 1.3.7 by the way, not using the css code supplied, just code placement and looks fine. I also corrected it so as to validate found in the tpl_header_language file.(change absmiddle to middle)
    IntelCos

  10. #10
    Join Date
    Feb 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    Has anyone yet found/posted a solution on how to change the code that the currency code appears instead of the currency symbol??

    I saw it on a ZC live site (which I unfortunately cannot remember), so it works... but how?

    Thx for help.

    T.

 

 
Page 1 of 11 123 ... 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