[TYPO3] select uid in template setup

Ilaria De Marinis ilaria.demarinis at caspur.it
Wed Aug 8 11:47:26 CEST 2007


Hi!

I have worked out. I was going wrong because I excluded the statement 
"select.pidInList =4", now in fact it works.

page.1 = CONTENT
page.1{
     table=tt_content
     select.pidInList =4
     select.uidInList =11
     select.orderBy=sorting
     wrap= <div class="header">|</div>
}

Thank you very much
regards

Dmitry Dulepov [typo3] wrote:
> Hi!
>
> Ilaria De Marinis wrote:
>   
>> I am creating several contents page which have a to be selected 
>> dinamically.
>>
>> I mean, I have different groups of pages each with a top one. This root 
>> pages have a little peace of content which is
>> different from the other's.
>>
>> I have configured my template setup section in this way:
>> page.1 = CONTENT
>> page.1{
>>     table=tt_content
>>     select.pidInList =4
>>        select.orderBy=sorting
>>     select.where=colPos=0        wrap= <div class="header">|</div>
>> }
>>
>> Is it possible to select "uid" item instead of "pid" page?
>>     
>
> You do not select uid here, you select all fields for records, whose pid 
> is 4 and colPos=0.
>
>   
>> Something like select.uidInList =11 or select.where=uid=11
>>
>> Can you help me?
>>     
>
> Yes. Look in TSRef. It describes everything you need. You generally 
> supposed to look in documentation before asking here...
>
>   

-- 
------------------------------------------------
Ilaria De Marinis 
Settore Automazione Biblioteche
Phone: +3906-44486052
CASPUR - Via dei Tizii ,6 - 00185 Roma
e-mail: demarinis at caspur.it
------------------------------------------------



More information about the TYPO3-english mailing list