[TYPO3] select uid in template setup

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Aug 8 11:14:39 CEST 2007


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...

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-english mailing list