![]() |
showing different templates for different languages
i need a code to include in a .tpl file of the shop to do this:
if for example shop language is english show en.tpl or if shop language is spanish show es.tpl thanks best regards |
Moving to template editing. Also, please put your X-Cart version in your signature per the forum rules. Thanks! :)
|
Code:
{if $smarty.get.sl eq "EN"} I'm english {/if} You can also use this to find what tpl variables are available at the time of processing: Code:
{php}func_print_r($this->_tpl_vars);{/php} |
All times are GMT -8. The time now is 07:31 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.