[Typo3-UG Dutch] sortering datum in tt_news andersom

Jordan van Bergen jordanvanbergen at hotmail.com
Sun Mar 21 08:58:13 CET 2004


Iemand een idee? Deze vraag is al in januari 2003 gesteld maar nog geen 
goeie oplossing kunnen vinden hiervoor. Ik kan in de class keihard de 
sortering veranderen waar de query staat, maar dan geldt dit voor alle 
pagina's/websites waar tt_news wordt gebruikt. De sortering moet alleen voor 
1 specifieke pagina omgedraaid worden. Hieronder de originele vraag, zelfde 
"probleem" waar ik dus ook tegen aan loop:

19-01-2003 16:44  by  Alexander Hartmann,   alex(AT)hsnewmedia.com
alexhartmann

Hi,

I would like to use the tt_news as a festival calender.

The Problem:
The latest festival in December is the first one in the list.
how can I set the sorting over TypoScript in

"default_sortby" => "ORDER BY datetime DESC",
in the file ext_tables.php of tt_news to:
"default_sortby" => "ORDER BY datetime",

without having problems with my regular news on the page, wich uses the same
tt_news module?
Is this possible or is it better to copy the tt_news extension and build a
new tt_calender2 out of it?
Thanks.

Alex

PS: I don´t want to use the existing tt_calender Module.

Hope someone knows...

Regards

Jordan van Bergen





More information about the TYPO3-UG-dutch mailing list