[TYPO3-UG Italy] R: doppia localization su sito multi lingua senza TV
De Contardi Riccardo
Riccardo.DeContardi at bhuman.it
Thu Oct 14 09:17:38 CEST 2010
Sono sicuro si potesse evitare tutto utilizzando
LEFT-MARKER < styles.content.getLeft
MIDDLE-MARKER < styles.content.get
RIGHT-MARKER < styles.content.getRight
Che sono oggetti di tipo CONTENT costruiti proprio così:
styles.content.get = CONTENT
styles.content.get{
table=tt_content
select{
where =colPos=0
orderBy=sorting
languageField = sys_language_uid
}
}
--------------------------------------------
Riccardo De Contardi – Web Developer
B Human Srl - www.bhuman.it
Via Canzio, 15 - 20131 Milano
TEL +39-02-20.23.271 - FAX +39-02-20.240.561
--------------------------------------------
-----Messaggio originale-----
Da: typo3-ug-italy-bounces at lists.typo3.org [mailto:typo3-ug-italy-bounces at lists.typo3.org] Per conto di laures at libero.it
Inviato: mercoledì 13 ottobre 2010 23:19
A: typo3-ug-italy at lists.typo3.org
Oggetto: [TYPO3-UG Italy] doppia localization su sito multi lingua senza TV
Ciao Roberto,
grazie per il suggerimento che si è rivelato giusto!! Ho inserito "select.languageField = sys_language_uid" alla fine di ognuno dei 3 blocchi e si è tutto risolto. Grazie davvero :)
Laura
Ciao Laura!
Il giorno 13 ottobre 2010 17:44, laures at libero.it <laures at libero.it> ha scritto:
LEFT-MARKER = CONTENT
LEFT-MARKER {
table = tt_content
select.orderBy = sorting
select.where = colPos = 1
}
MIDDLE-MARKER = CONTENT
MIDDLE-MARKER {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
RIGHT-MARKER = CONTENT
RIGHT-MARKER {
table = tt_content
select.orderBy = sorting
select.where = colPos = 2
}
Prova ad aggiungere nei tre blocchi sopra (allo stesso livello di select.where) la riga:
select.languageField = sys_language_uid
Ciao
Roberto
_______________________________________________
TYPO3-UG-Italy mailing list
TYPO3-UG-Italy at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy
**************************************************
Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.
The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.
More information about the TYPO3-UG-Italy
mailing list