Advanced search  

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

Pages: [1]   Go Down

Author Topic: conditional if else in temlate files based on language  (Read 2744 times)

0 Members and 1 Guest are viewing this topic.

giorgio79

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
conditional if else in temlate files based on language
« 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
« Last Edit: October 08, 2007, 05:26:41 pm by Stramm »
Logged

giorgio79

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
Re: conditional if else in temlate files based on language
« Reply #1 on: October 08, 2007, 03:59:56 pm »

Logged

giorgio79

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.