If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Language/Currency Links in Header

Language/Currency Links in Header

Started by bunyip on 1 Jun 2006, 7:44 AM · Views: 47,439

Results 41 to 60 of 121
17 Aug 2009, 10:45 AM
#41
yourstruly avatar

yourstruly

New Zenner

Join Date:
Jun 2009
Posts:
6
Plugin Contributions:
0

Language/Currency Links in Header

hey, thanks so much for this! I wanted this in the footer actually so I just switched everything that said header to footer and it works great!

9 Dec 2009, 5:57 PM
#42
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Language/Currency Links in Header

Hello there,

Installed this mod and working correctly. Just wondering, how do I get it to display the code instead of symbol? For example, I would like to display GBP instead of £.

Thanks

5 Jan 2010, 6:37 PM
#43
fiveminpro avatar

fiveminpro

New Zenner

Join Date:
Jan 2010
Posts:
1
Plugin Contributions:
0

Re: Language/Currency Links in Header

Fantastic! This worked perfectly! I used it in the footer instead (granted the naming convention is a little off then in the Admin but eh..hehehe)

Thanks for the solution! (glad I searched the forums before working the hack out on my own)

18 Feb 2010, 8:18 AM
#44
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Language/Currency Links in Header

This mod is great, but is there a way to make the Language into a dropdown box with the language names instead of images? I managed to get a dropdown box for currencies, but can't get it to work for languages. The dropdown box shows up, but there are no values.

Thanks!

Danielle

23 Apr 2010, 3:03 AM
#45
tonyg485 avatar

tonyg485

New Zenner

Join Date:
Apr 2010
Location:
Massachusetts
Posts:
30
Plugin Contributions:
0

Re: Language/Currency Links in Header

Need some help here. Real newbie :frusty:

I have 1.3.8 version and I want to move my currency and language up to the right side of the navigation bar in header. I have tried to download a free mod

Contribution: Language/Currency Links in Header
Version: 1.0
Designed for: Zen Cart v1.3.0.1
Designed by: Neville Kerr
License: under the GPL - See attached License for info.
Support: Only given via the forums, please.

I just can't get it to work. Also when I try to turn off from Admin/layout box controller/sideboxes... nothing happens when I switch to off. I am working on a localhost.

Any patient guidance would be great :bigups:

30 Jun 2010, 3:13 PM
#46
design4dotcom avatar

design4dotcom

New Zenner

Join Date:
Apr 2008
Location:
Orlando, FL
Posts:
52
Plugin Contributions:
0

Re: Language/Currency Links in Header

ZC 1.3.8
I want to use this module, but I have a completely custom header. Not using the boxes thing that ZC is so famous for.

The client wants to place flags for NZ & US on the header. We are currently in the US and the entire website is US. So we are basically adding NZ.

Can we use this module without using the boxes?

I'm trying to figure out if this is going to be a good fit for us. If not, then I'm open to suggestions.

The client definitely wants flag and not drop down.

if you want to see the website, you can go to https://www.martekdavits.com

Thanks for your help.

Michelle

Michelle Dettlaff
Design 4 Dot Com, Inc.
Orlando Website Design

3 Aug 2010, 8:52 PM
#47
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

Re: Language/Currency Links in Header

Just wanted to say that I installed this module and made some modifications mentioned in previous posts (show drop-down box and full currency name instead of symbol). Everything works perfectly and it can be seen at Athens Collectibles displaying on the right of the navigation bar.

Many thanks to the writer and contributors to amendments for this very nice module. :bigups:

25 Nov 2010, 4:17 AM
#48
calico avatar

calico

New Zenner

Join Date:
Jul 2010
Posts:
21
Plugin Contributions:
0

Re: Language/Currency Links in Header

Great plugin! Is it possible to use images instead of the currency symbol such as how the language use flags as images?

5 Jun 2011, 9:07 PM
#49
elaineben avatar

elaineben

New Zenner

Join Date:
May 2011
Posts:
7
Plugin Contributions:
0

Re: Language/Currency Links in Header

will this be working for zc v1.3.9? is there an updated version? thanks.:smile:

10 Jun 2011, 10:54 AM
#50
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Language/Currency Links in Header

elaineben:

will this be working for zc v1.3.9? is there an updated version? thanks.:smile:

I have it installed on 139h and is working well.

13 Jun 2011, 11:59 PM
#51
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

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.

14 Jun 2011, 1:53 PM
#52
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Language/Currency Links in Header

tony_sar:

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

anyone ??? someone ?? :unsure:

29 Jan 2012, 12:44 PM
#53
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

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.

1 Feb 2012, 10:49 AM
#54
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

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 .

1 Feb 2012, 5:00 PM
#55
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

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.

2 Feb 2012, 6:41 AM
#57
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

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. :blink:

18 Mar 2012, 3:16 PM
#58
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

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...

$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';

... to ...

$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

Breakfast: the most important donut of the day.

31 May 2013, 9:01 AM
#59
jewelsnpearls avatar

jewelsnpearls

New Zenner

Join Date:
Feb 2011
Location:
Hong Kong
Posts:
29
Plugin Contributions:
1

Re: Language/Currency Links in Header

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.

13 Aug 2013, 5:37 PM
#60
waterbender avatar

waterbender

New Zenner

Join Date:
May 2010
Posts:
84
Plugin Contributions:
0

Re: Language/Currency Links in Header

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