Hallo

 

Anscheinend hat sich zwischen 6.1 und 6.2 irgendwas in der Sprachbehandlung
verändert.

In 6.1 habe ich mit folgendem Typoscript auf einer Seite die Inhalte sowohl
in Deutsch als auch in Englisch angezeigt bekommen:

 

# Content holen in deutsch UND englisch

lib.content = COA

lib.content{

  10 = CONTENT

  10{

    table = tt_content

    select{

      orderBy = sorting

      pidInList = 84

      where = colPos=0

      andWhere = tt_content.sys_language_uid = 0

    }

  }

  15 = COA

  15{

    10 = TEXT

    10.value = <table width="100%"><tr><td><br /><br /></td></tr><tr><td
width="100%" align="center" style="border-top: 1px dotted
#D4D4D4;border-bottom: 1px dotted #D4D4D4;">

    20 = TEXT

    20.value = - - - ENGLISH VERSION - - -

    30 = TEXT

    30.value = </td></tr><tr><td><br /><br /></td></tr></table>

  }

  20 = CONTENT

  20{

    table = tt_content

    select{

      orderBy = sorting

      pidInList = 84

      where = colPos=0

      andWhere = tt_content.sys_language_uid = 1

    }

  }

 

In 6.2 funktioniert das nun nicht mehr.

Wenn ich die Seite ohne langVar aufrufe bekomme ich nur die deutschen
Datensätze. Rufe ich die Seite mit L=1 auf, so bekomme ich die Datensätze
doppelt und in Englisch.

 

Wie kann ich im lib.content.20 die Sprache „erzwingen“?

 

Danke

Johannes

 

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an