forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: giorgio79 on October 07, 2007, 08:58:49 pm

Title: conditional if else in temlate files based on language
Post by: giorgio79 on October 07, 2007, 08:58:49 pm
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
Title: Re: conditional if else in temlate files based on language
Post by: giorgio79 on October 08, 2007, 03:59:56 pm
Ah, I found an exact solution :P

http://forum.coppermine-gallery.net/index.php?topic=2121.0
Title: Re: conditional if else in temlate files based on language
Post by: giorgio79 on October 08, 2007, 04:10:03 pm
and this one as well :P
http://forum.coppermine-gallery.net/index.php?topic=24086.0