Rhobur Posted August 4, 2011 Share Posted August 4, 2011 Hi, How can I display a module only in the default language but not for the others ? What is the variable I should test in the tpl file ? Regards Link to comment Share on other sites More sharing options...
phrasespot Posted August 5, 2011 Share Posted August 5, 2011 Hi, How can I display a module only in the default language but not for the others ? What is the variable I should test in the tpl file ? Regards What is the module? Do you want it displayed in a specific language only regardless of the language selected or not to display the module at all except a single language? Link to comment Share on other sites More sharing options...
tomerg3 Posted August 5, 2011 Share Posted August 5, 2011 You can delete all the language files from the folder of the module (IE fr.php, es.php) Make sure to keep a backup just in case. Link to comment Share on other sites More sharing options...
webplus Posted February 22, 2012 Share Posted February 22, 2012 In tpl file you can use variable $lang_iso, e.g.: {if $lang_iso == cs} some code {/if} Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted June 15, 2016 Share Posted June 15, 2016 In tpl file you can use variable $lang_iso, e.g.: {if $lang_iso == cs} some code {/if} Thanks for this How i can specified what ID of articles i want to display? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now