Hello, I guess that the title says it all. How can I change the currency selector module, so that I can have icons or text instead of a dropdown? I would like to use icons for changing / switching between currencies. Any ideas on how can this be accomplished? I am using Virtuemart 2.0.6 on Joomla 1.5.25. Thank you very much for your help,
the closest I've found is something like the below, but I'm not sure how to put in the correct variable:
<?php
$link = JRequest::getURI();
$var =& JURI::getInstance( $link );
$var->delVar('product_currency');
$link = $var->toString();
if ($_REQUEST["product_currency"]){
$var->setVar( 'product_currency', $_REQUEST["product_currency"]);
}
foreach($currencies as $key => $val) {
$class = ($key == $GLOBALS['product_currency'])? 'class="current" style="font-weight: bold;"' : '';
echo "<a $class href='".JRoute::_("$link&virtuemart_currency_id")."'>$key</a> ";
}
*/ ?>
did anyone found a way to replace dropdown with icons or text? i only use two currencies and i would prefer to use something visually better than dropdown
standard currency selector module could show icons
my currency selector module does not have any option in backend! i have last virtuemart 2.0 compatible version where should i see?
Not good. Are you sure that you have last VM AIO extensions?
Regards.
i've got last vm version and last vm aio version! what's happening?
Everything IS very simple.
Please post here screen shot of your currency module settings and write here version of this specific module.
i attach the screenshot and the version is 2.0.18a January 09 2013
[attachment cleanup by admin]
That's right. This picture also shows that you have old version of module.
The newest one is 2.0.20b.
Got the same request, running 2.0.24 and there is no way to change to icons in the module.
Did you got it working?
Thanks
i've downloaded the latest vm version full package. unzipped the folder and checked the module : you are wrong: latest currency selector module does not allow to choose icons or text display.