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

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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