Hello.
I need the language for this contribute to show up as dropdown <select> . can anyone help put please.
thanks.
Hello.
I need the language for this contribute to show up as dropdown <select> . can anyone help put please.
thanks.
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.
George
Athens Collectibles
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.you can not show image in dropdown select box using html .. you may have to use jquery or ajax / javascript to achieve this
Anyway, thanks for the reply and wishes for a nice day from a snowing Athens.
George
Athens Collectibles
you can look at this site for help.
http://www.marghoobsuleman.com/jquery-image-dropdown
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.![]()
George
Athens Collectibles
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...
... to ...PHP Code:
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
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.)PHP Code:
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="header_currency">';
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
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.
Hi, is this module on the plugin page still compatible with the latest zen cart v1.5.1?
Bookmarks