minister.boss Posted August 26, 2013 Share Posted August 26, 2013 -------------------- <p> <input type="hidden" name="id_currency" id="id_currency" value=""/> <input type="hidden" name="SubmitCurrency" value="" /> {l s='' mod='blockcurrencies'}{$blockcurrencies_sign} </p> -------------------- {l s='' mod='blockcurrencies'}{$blockcurrencies_sign} - вывод значка валюты, а как вывести Currency name, чтобы писалось понятным языком? Link to comment Share on other sites More sharing options...
webprog Posted August 30, 2013 Share Posted August 30, 2013 {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}">{$f_currency.sign}</a> </li> {/foreach} где {$f_currency.name} название валюты Link to comment Share on other sites More sharing options...
minister.boss Posted August 30, 2013 Author Share Posted August 30, 2013 спасибо большое Link to comment Share on other sites More sharing options...
daniley Posted June 11, 2014 Share Posted June 11, 2014 (edited) а как вывести просто курс валюты (основной по отношению к той которая в данный момент используется ?) основная валюта евро id (2) , валюта для FO по умолчанию id (3) гривна Edited June 11, 2014 by daniley (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts