[Typo3] Extension Kickstarter 'Order By'
Christian Trabold
trabold at mehrwert.de
Thu Mar 31 09:16:06 CEST 2005
Hello,
>> // Initializing the query parameters:
>>
>> list($this->internal["orderBy"],$this->internal["descFlag"]) =
>> explode(":",$this->piVars["sort"]);
>
>
> => used in piBase for FE-purposes.
> => assumes some GPVar xy[sort] set
>
> as hint, add:
>
> if ($this->internal["orderBy"]=='') {
> $this->internal["orderBy"]="myField";
> }
>
> [there's probably another class-var for a default-sorting available,
> can't remember]
also keep in mind, that "myField" appears in the "orderByList" Variable.
Greetings
Christian
More information about the TYPO3-english
mailing list