conditional if else in temlate files based on language conditional if else in temlate files based on language
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

conditional if else in temlate files based on language

Started by giorgio79, October 07, 2007, 08:58:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

giorgio79

Hello,

I would like to hide some template.html content based on the currently selected language?

Is this possible?

Sg like

if (lang == chinese)
   show this stuff
else
   show that

Or do I have to create a new theme for that?

Cheers,
Gyuri