play Posted December 27, 2013 Share Posted December 27, 2013 Hello! Which variable displays the name of the currency in his full name, such as 'Dollar', 'Euro'? Link to comment Share on other sites More sharing options...
NemoPS Posted December 27, 2013 Share Posted December 27, 2013 it should be the .name element of each currency array. You have to loop through all of them ($currencies in the front office templates) and then access the single iteration's .name Link to comment Share on other sites More sharing options...
El Patron Posted December 27, 2013 Share Posted December 27, 2013 First check: themes/your_theme/modules/blockcurrencies/blockcurrencies.tpl if this files does not exist then you will find it here modules/blockcurrencies/blockcurrencies.tpl the .tpl file will display the curriences using the variables passed from Note:blockcurrencies/blockcurrencies.php the information is pulled from http://screencast.com/t/ivCtMW3OE Link to comment Share on other sites More sharing options...
play Posted December 28, 2013 Author Share Posted December 28, 2013 Thank you very much Link to comment Share on other sites More sharing options...
play Posted December 28, 2013 Author Share Posted December 28, 2013 Thank you very much Link to comment Share on other sites More sharing options...
play Posted December 28, 2013 Author Share Posted December 28, 2013 and how to display the current currency without cycle ('. selected'), by clicking on it to open the drop down menu? Link to comment Share on other sites More sharing options...
NemoPS Posted December 28, 2013 Share Posted December 28, 2013 what do you mean? You can't display currency information without accessing the array Link to comment Share on other sites More sharing options...
play Posted December 28, 2013 Author Share Posted December 28, 2013 Yes. Please help me. How to display the current currency? Link to comment Share on other sites More sharing options...
NemoPS Posted December 28, 2013 Share Posted December 28, 2013 And example from the module: {foreach from=$currencies key=k item=f_currency} <li {if $cookie->id_currency == $f_currency.id_currency}class="selected"{/if}> <a href="javascript:setCurrency({$f_currency.id_currency});" title="{$f_currency.name}" rel="nofollow">{$f_currency.sign}</a> </li> {/foreach} Link to comment Share on other sites More sharing options...
play Posted December 28, 2013 Author Share Posted December 28, 2013 Thank you. I need to display the current currency without cycle. to push and pull-down menu. Link to comment Share on other sites More sharing options...
Recommended Posts