[TYPO3] TMENU_LAYER

Bas van der Togt b.vandertogt at profinit.com
Sun Jan 28 21:25:57 CET 2007


Unfortunately this is not working.
He doesn't show anything now.
Do you know why?

cheers,
Bas

JoH asenau schreef:
>> I just find out that the cObject below is showing the default language
>> text at all languages. Do you know why?
>>
>> NO {
>>    before.cObject = COA |*| 0 |*|
>>    before.cObject {
>>      wrap = <cobject wrap>|</>
>>      10 = RECORDS
>>      10 {
>>        source.field = pid
>>        tables = pages
> 
> because it takes the stuff directly from the table "pages".
> Translations can be found in the language overlay table.
> 
> So maybe you better use CONTENT instead of RECORDS, since you can set the
> language there.
> 
> Try this:
> 
> NO {
>    before.cObject = COA |*| 0 |*|
>    before.cObject {
>      wrap = <cobject wrap>|</>
>      10 = CONTENT
>      10 {
>        table = pages
>        select {
>         pidInList.field = pid
>         languageField = sys_language_uid
>       }
>        renderObj = TEXT
>        renderObj {
>          field = title
>        }
>      }
>    }
>    ATagParams = class="menu"
>    allWrap = <my wrap>|</>
> }
> 
> Joey
> 


More information about the TYPO3-english mailing list