[TYPO3-UG Italy] TS/DB

mario chiari.hm at flashnet.it
Tue Apr 25 14:31:43 CEST 2006


hi,

questo a me funziona;

page.11 = CONTENT
page.11.table = tt_address
page.11.select {
        pidInList = this
        orderby = sorting
}

e anche questo (TS con valori di default)
page.11 = CONTENT
page.11.table = tt_address

la tua linea 
select.pidInList.field = pages
mi sembra sbagliata. Stai cercando di avere gli indirizzi associati a
tutte le pagine? Se si, allora purtroppo non saprei come fare, ci devo
pensare (o qualcuno che legge sa come fare?) 

Se ti bastano indirizzi da alcune pagine, e/o vuoi info solo da alcuni
campi della tabella, a me funziona  così:

page.11 = CONTENT
page.11.table = tt_address
page.11.select {
        pidInList = 35,27,this <-- /nota 
        selectFields = name, www  <--- or "count(*)"
        orderby = sorting
} 

/nota ovviamente, ci devono essere indirizzi assegnati a queste pagine.
Deafult è `this´.

ciao
mario





On Tue, 2006-04-25 at 09:06 +0200, Andrea Giorgini wrote:
............ 
> 
> page.10 = CONTENT
> page.10 {
>    table=tt_address
>    select.pidInList.field = pages
> }
.........................




More information about the TYPO3-UG-italy mailing list