[Typo3] how to change sorting listView in extension

Erwin Wondergem erwin at fuelle.nl
Wed Aug 3 11:25:14 CEST 2005


Hi all,

creating a new plugin with the kickstarter, showing a list of records,
i was wondering how to change the sorting of the lists. There are two
interesting things: first the kickstarter gives you the means to set some
sorting (manual sorting, sorting by field), but this doesn't seems to affect
the sorting at the frontend... Setting this to date, asc results in a 
sorting
by date, desc... even manually sorting seems to have no influence on the
ordering of records.

Secondly i found within my extension class:
list($this->internal['orderBy'],$this->internal['descFlag']) = 
explode(':',$this->piVars['sort']);

Where do i have to set the default settings of 
$this->internal['orderBy'] and $this->internal['descFlag']?

Hope you can help me out!

Cheers, Erwin

-- 
Erwin Wondergem [erwin at fuelle.nl]
mobiel: 0624740006 - skype: callto://erwinwondergem-fuelle
Fuelle Communicatie VOF - Digitale Communicatie
http://www.fuelle.nl <BLOCKED::http://www.fuelle.nl/> +31(0)118 431815



More information about the TYPO3-english mailing list