[TYPO3] Backend: How to change the way an extension orders records

Peter Klein peter at umloud.dk
Mon Dec 4 18:15:14 CET 2006


Hi Brian. Look in "ext_tables.php" and "tca.php". In one of those 2 files, 
the sorting in BE is defined.

---
Peter Klein / Umloud Untd

"Brian Bendtsen" <nightowl at galnet.dk> wrote in message 
news:mailman.1.1165223522.6161.typo3-english at lists.netfielders.de...
> Hi
>
> I have installed the websiteporfolio ext. and want to change it a bit.
>
> Some has been successful and some has not.
>
> I wanted the list view on the frontend to sort by uid DESC so I changed 
> the file class.tx_websiteportfolio_pi1.php:
>
> $this->internal['orderBy']='uid DESC';
> $this->internal['orderByList']='uid DESC';
>
> And that worked fine.
>
> But how do I make the same change in the backend? I cant find the similar 
> code for the backend. It sorts the entries by name and it would be better 
> to sort by uid.
>
> Can anybody help?
>
> /Brian Bendtsen 




More information about the TYPO3-english mailing list