Forums / All Other Contributions/Addons / Flexible Language/Currency Header Options (Support Thread)

Flexible Language/Currency Header Options (Support Thread)

Views: 5,365

Results 1 to 18 of 18
25 Mar 2014, 12:32 AM
#1
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Flexible Language/Currency Header Options (Support Thread)

Being uploaded today!
http://www.zen-cart.com/downloads.php?do=file&id=1844

Flexible Language/Currency Header Options adds one of the following Language Options to your #navMainWrapper

1.) A List of Languages
2.) Language Icons
3.) Language Drop-Down Select
4.) Language Popup

Flexible Language/Currency Header Options adds one of the following Currency Options to your #navMainWrapper

1.) A List of Currencies
2.) Currency Icons
3.) Currency Drop-Down Select
4.) Currency Popup

ADMIN Configurations Include:
1.) Set which Language Option Shows
2.) Set which Currency Option Shows
3.) Set NEW Currency Icon image Directory
4.) Set NEW Currency Icon image Ext. (.gif, .png ect.)

In the DEMO, I added the:

Popup Option as DEFAULT
List Option on the Shipping & Returns page ONLY
Icons Option on the Conditions of Use page ONLY (displays generic icons)
Drop-Down Select Option on the Privacy Notice page ONLY

25 Mar 2014, 11:17 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Flexible Language/Currency Header Options (Support Thread)

Nice one!

BUT: went to the demo site and changed the language from English to German.

Result:

Flexible Language/Currency Header Options

are not showing.

Me thinks that it needs a copy of the corresponding English language files :lookaroun

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

25 Mar 2014, 3:30 PM
#3
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Flexible Language/Currency Header Options (Support Thread)

frank18:

Nice one!

BUT: went to the demo site and changed the language from English to German.

Result:

Flexible Language/Currency Header Options

are not showing.

Me thinks that it needs a copy of the corresponding English language files :lookaroun

The options themselves are not showing in header? or the main page defines did not convert to german?

26 Mar 2014, 8:56 AM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Flexible Language/Currency Header Options (Support Thread)

rbarbour:

The options themselves are not showing in header? or the main page defines did not convert to german?

It was the latter. I only got a header bar with stock coding. When I checked again later I found a couple of drop downs (but with arrows cut off). I use Firefox.

Will check again in a few hours time and report back.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

26 Mar 2014, 11:30 AM
#5
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Flexible Language/Currency Header Options (Support Thread)

frank18:

It was the latter. I only got a header bar with stock coding. When I checked again later I found a couple of drop downs (but with arrows cut off). I use Firefox.

Will check again in a few hours time and report back.

Should be good now, hopefully!

Demo includes all options to show how all options look, by default only 1 option can be chosen.

Popup option is CSS styled to look like drop-downs but can be styled any way you like.

Popup Option as DEFAULT
List Option on the Shipping & Returns page ONLY
Icons Option on the Conditions of Use page ONLY (displays generic icons)
Drop-Down Select Option on the Privacy Notice page ONLY

DEMO

26 Mar 2014, 1:21 PM
#6
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Flexible Language/Currency Header Options (Support Thread)

rbarbour:

Should be good now, hopefully!.....

Yep, that looks fine to me - great work!

Cheers / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

26 Mar 2014, 1:33 PM
#7
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Flexible Language/Currency Header Options (Support Thread)

frank18:

Yep, that looks fine to me - great work!

Cheers / Frank

Thanks, good deal!

Will upload newest alterations today!

8 Apr 2014, 5:26 PM
#8
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Flexible Language/Currency Header Options (Support Thread)

Seems I forgot to change the ADMIN Configuration name in the tpl_currency_header.php

find the 3 switch statements:
switch (ZCA_LANGUAGE_CURRENCY_OPTION) {

and change to:
switch (ZCA_CURRENCY_OPTION) {

I will make changes in next version.

25 Jun 2014, 2:16 AM
#9
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Flexible Language/Currency Header Options (Support Thread)

Version 1.0b uploaded today!

Bug Fix - updated admin config. Post#8

You can see DEMO & DOWNLOAD here until it gets approved.

25 Jun 2014, 7:03 AM
#10
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Flexible Language/Currency Header Options (Support Thread)

rbarbour:

Version 1.0b uploaded today!

Bug Fix - updated admin config. Post#8

You can see DEMO & DOWNLOAD here until it gets approved.

Hervorragend :cool: (=excellent) !

Cheers / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

26 Jun 2014, 4:58 PM
#11
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Flexible Language/Currency Header Options (Support Thread)

I Appreciate the enthusiasm Frank!

As I continue to upgrade current projects I am looking at display differences, plugin similarities and different client needs to create a "New" user flexible and friendly plugin that combines the majority of these possibilities.

I am just glad it is useful to others. :D

frank18:

Hervorragend :cool: (=excellent) !

Cheers / Frank

21 Mar 2015, 3:04 PM
#12
jolliejollie avatar

jolliejollie

New Zenner

Join Date:
Mar 2015
Location:
Hong Kong
Posts:
32
Plugin Contributions:
0

Re: Flexible Language/Currency Header Options (Support Thread)

Hi. I'm new to Zen Cart. How do I install this module? Thanks!

30 Jul 2016, 5:53 PM
#13
marieaa avatar

marieaa

Zen Follower

Join Date:
Jan 2013
Posts:
113
Plugin Contributions:
0

Re: Flexible Language/Currency Header Options (Support Thread)

If anyone can shed some light. I don't see the language or currency in my header appear. However, when I go see the page source, I see where language_header.php and currency_header.php is called but it looks like this and I am really not a pro at this, but I am assuming that something other then then spaces right??
p:

<!--bof-Flexible Language/Currency Header Options by ZCAdditions.com--> <div id="navMainLanguage">   </div> <div id="navMainCurrency">  </div> <!--eof-Flexible Language/Currency Header Options by ZCAdditions.com-->

also the install.sql files calls for this:

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, '<strong><font color="#2BA6C6">Flexible Currency Header Options</font></strong>', 'ZCA_CURRENCY_OPTION', 'true', 'Choose Currency Display Option', '19', '898', now(), now(), NULL, 'zen_cfg_select_option(array(''none'',''links'', ''icons'', ''dropdown'', ''popup''), ');
INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, '<font color="#2BA6C6">Flexible Currency Header Icon Image Type Extension</font>', 'ZCA_SET_CURRENCY_IMAGE_EXT', '.gif', 'Save your Icons in the same format Image Type Extension (.jpg, .gif, etc).', '19', '899', now(), now(), NULL, NULL);
INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, '<strong><font color="#2BA6C6">Flexible Language Header Options</font></strong>', 'ZCA_LANGUAGE_OPTION', 'true', 'Choose Language Display Option', '19', '900', now(), now(), NULL, 'zen_cfg_select_option(array(''none'',''links'', ''icons'', ''dropdown'', ''popup''), ');

I go to my admin and search for this to make the set up and can't find it anywhere. Am I missing some files to modify the admin side?

Thanks for any help

30 Jul 2016, 6:22 PM
#14
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: Flexible Language/Currency Header Options (Support Thread)

Look in your admin's Configuration->Layout Settings (configuration_group_id = 19).

30 Jul 2016, 6:40 PM
#15
marieaa avatar

marieaa

Zen Follower

Join Date:
Jan 2013
Posts:
113
Plugin Contributions:
0

Re: Flexible Language/Currency Header Options (Support Thread)

lat9:

Look in your admin's Configuration->Layout Settings (configuration_group_id = 19).

thank you sooooooooooooo much! I learned something new to watch for!

30 Jul 2016, 6:45 PM
#16
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: Flexible Language/Currency Header Options (Support Thread)

No problem. What I did to make that determination was (a) to see that the configuration values were being registered for configuration_group_id = 19 and then (b) went to phpMyAdmin to view my configuration_group table to see which one is associated with that id.

30 Jul 2016, 9:00 PM
#17
marieaa avatar

marieaa

Zen Follower

Join Date:
Jan 2013
Posts:
113
Plugin Contributions:
0

Re: Flexible Language/Currency Header Options (Support Thread)

lat9:

No problem. What I did to make that determination was (a) to see that the configuration values were being registered for configuration_group_id = 19 and then (b) went to phpMyAdmin to view my configuration_group table to see which one is associated with that id.

yep EXACTLY what I learned today... lol... Thanks again!

20 May 2021, 2:46 PM
#18
authentology avatar

authentology

New Zenner

Join Date:
May 2021
Location:
Sweden
Posts:
1
Plugin Contributions:
0

Re: Flexible Language/Currency Header Options (Support Thread)

Hi,
I'm very new to Zen Cart so please bear with me. I am presently using: v1.5.5f
I have recently downloaded the 'Flexible Currency Header Option' which now appears under Admin-Configuration-Layout Settings. However no matter what options I choose (see below) I cannot get the currency dropdown to appear on my main menu banner. I do however, have a currency dropdown box on my left sidebar above my product subcategories.

Flexible Currency Header Options dropdown
Flexible Currency Header Icon Image Type Extension .gif
Flexible Language Header Options dropdown

I have really spent hours and hours trying to fix this, PLEASE can someone help me.

I