[TYPO3] How to swith to page_language_overlay in a CONTENT cobject

Laurent Signorini lsignorini at ariane-ingenierie.fr
Mon Mar 13 11:10:03 CET 2006


Hello,

 >>Doesn't subparts.CONTENU.10.select.languageField = sys_language_uid help?
NO because the field sys_language_uid doesn't exist in the pages table 
(like in the tt_content table).


Miroslav Monkevic a écrit :
> Hello,
> 
> Doesn't subparts.CONTENU.10.select.languageField = sys_language_uid help?
> 
> Laurent Signorini wrote:
> 
>> Hello,
>>
>> i use the following Typoscript to generate an HTML content with the 
>> title, and the abstract fields from all pages just inside a master page.
>>
>>    subparts.CONTENU = COA
>>    subparts.CONTENU {
>>      10 = CONTENT
>>      10 {
>>        table = pages
>>        select {
>>          pidInList = this  /* PID of the master page, which is the 
>> current page */
>>        }
>>        renderObj = COA
>>        renderObj {
>>        5 = TEXT
>>        5 {
>>          field = title
>>        }
>>        10 = TEXT
>>        10 {
>>          field = abstract
>>        }
>>      }
>>    }
>>
>> This Typoscript works very well (with the default language) until i 
>> switch the language, since the alternative language page content are 
>> store in the page_language_overlay table.
>> Someone could help me to give me a solution in order to obtain the 
>> same resultat also when the language is not the default language.
>> Hope this is clear.
>> Thanks.
>>
>> LAurent
> 
>  --
> Miroslav



More information about the TYPO3-english mailing list