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: Languages  (Read 4268 times)

0 Members and 1 Guest are viewing this topic.

keks190

  • Coppermine newbie
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 9
Languages
« on: December 14, 2017, 11:58:46 am »

Hallo

gibt es ein Script wo man die Languages (Sprachen) wie hier auflisten kann ?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Languages
« Reply #1 on: December 14, 2017, 12:15:52 pm »

In older versions of Coppermine, all themes used to contain the placeholder token {LANGUAGE_SELECT_LIST}. This token used to be replaced with a list of the available languages and only if the corresponding option in coppermine's config used to be checked (by default, the option used to be unchecked). This has changed in cpg1.5.x: if your custom theme's template.html contains the token {LANGUAGE_SELECT_LIST}, the corresponding output will be displayed no matter what, as the option in coppermine's config has been dropped.

Therefore, if you use a theme that was designed for cpg1.4.x, the language selector by list will show after the upgrade to cpg1.5.x even if you had the display turned off before. If this bothers you, just remove the template placeholder token {LANGUAGE_SELECT_LIST}.

Kurz: einfach {LANGUAGE_SELECT_LIST} an der gewünschten Stelle in der template.html-Datei deines Themes einfügen.
Logged

keks190

  • Coppermine newbie
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 9
Re: Languages
« Reply #2 on: December 14, 2017, 01:44:41 pm »

Danke dir ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.