Jump to content

[THEME] Another theme i created - Need comments


Recommended Posts

Another great piece of work.

I like what you did to the currency selector.
Are you willing to share that code?


it's actually easy to modify the modules (if you understand basic html, a bit of javascript and PHP :) )

anyway, this the the edited version of blockcurrencies.tpl

<!-- Block currencies module -->
[removed][removed]

   <form id="setCurrency" action="{$request_uri}" method="post">
       {l s='Currencies' mod='blockcurrencies'}

           {foreach from=$currencies key=k item=f_currency}
{$f_currency.name}
           {/foreach}


       <input type="hidden" name="id_currency" id="id_currency" value=""/>
       <input type="hidden" name="SubmitCurrency" value="" />
   </form>

<!-- /Block currencies module -->



Thanks for the comments guys! :)

Link to comment
Share on other sites

Another great piece of work.

I like what you did to the currency selector.
Are you willing to share that code?


it's actually easy to modify the modules (if you understand basic html, a bit of javascript and PHP :) )

anyway, this the the edited version of blockcurrencies.tpl

<!-- Block currencies module -->
[removed][removed]

   <form id="setCurrency" action="{$request_uri}" method="post">
       {l s='Currencies' mod='blockcurrencies'}

           {foreach from=$currencies key=k item=f_currency}
{$f_currency.name}
           {/foreach}


       <input type="hidden" name="id_currency" id="id_currency" value=""/>
       <input type="hidden" name="SubmitCurrency" value="" />
   </form>

<!-- /Block currencies module -->



Thanks for the comments guys! :)



Thanks for the share!

Any change you can do the same with the language selector? :cheese:
Link to comment
Share on other sites

What got removed?


<!-- Block currencies module -->
[removed][removed]





mmmm.... don't know why [remove][/remove] is there.

it should have this:
< script type="text/javascript" src="{$module_dir}blockcurrencies.js"></ script>


make sure you remove the space after the < and
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...