Hi folks,
Just a quick one:
How do I get my active currency in my layout.tpl file?
I need this because I only want to show a box if the currency is Pound/Sterling
and hide the box when Euro or Dollars are selected
Cheers,
Dieter
You want to make this change in the currency module where the value is already available in the template as $default.
The value is made available in the module template by the following line of code.
$view->set('default', $currency->getCode());
The value is made available in the module template by the following line of code.
$view->set('default', $currency->getCode());
Who is online
Users browsing this forum: No registered users and 1 guest