Page 6 of 12 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 113
  1. #51
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    Hello.
    I need the language for this contribute to show up as dropdown <select> . can anyone help put please.
    thanks.

  2. #52
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    Quote Originally Posted by tony_sar View Post
    Hello.
    I need the language for this contribute to show up as dropdown <select> . can anyone help put please.
    thanks.

    anyone ??? someone ??

  3. #53
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    I have this mod installed for months and it's working fine as I reported in a previous post. I recently upgraded to Zen Cart 1.5 and it still works without any problem.

    Just because I'm an uneasy mind, I have tried to change the currency drop-down box to display a small flag next to the currency title. I added the image tag before the currency and, although it looks nice on the Administration site, it displays the image code as text within the drop-down. The screenshot below is self explanatory:


    I know that it should be fairly easy for the developer to point me to the right direction. Unfortunately, I'm not a PHP programmer and can not figure out which file to change and how.

    Any help will be much appreciated. I hope that this thread is still monitored after many months of inactivity.

  4. #54
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    you can not show image in dropdown select box using html .. you may have to use jquery or ajax / javascript to achieve this .

  5. #55
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    you can not show image in dropdown select box using html .. you may have to use jquery or ajax / javascript to achieve this
    Having searched a lot on the web before posting here, I was afraid that this would be the case. Just hoped that somebody had found a way to achieve it.

    Anyway, thanks for the reply and wishes for a nice day from a snowing Athens.

  6. #56
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    you can look at this site for help.

    http://www.marghoobsuleman.com/jquery-image-dropdown

  7. #57
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    Thank you tony_sar, I had already found this page when searching the web. It looks like the solution but needs programming beyond my skills.

  8. #58
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    I just installed this mod in a 1.3.9h site, and like others, I can report it works fine. I made one slight change. In the includes/templates/MY_TEMPLATE/common/tpl_header_currencies.php file, I changed...
    PHP Code:
    $content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="sideBoxContent centeredContent">'
    ... to ...
    PHP Code:
    $content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="header_currency">'
    I did that to get a distinct class name to make it easy to style the dropdown (and to get rid of some inherited styles which I didn't want.)

    Also, as you probably just noticed, I installed the dropdown in my header, so I changed a couple of filenames and their references in the files themselves, just replacing 'footer' with 'header'.

    Thanks for the mod!

    Rob

  9. #59
    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. #60
    Join Date
    May 2010
    Posts
    84
    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 6 of 12 FirstFirst ... 45678 ... 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