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

Peter Klein peter at umloud.dk
Tue Dec 5 12:19:29 CET 2006


You can try uninstalling it, and then installing it again.  It usually works 
for me.

-- 
Peter Klein/Umloud Untd

"Brian Bendtsen" <nightowl at galnet.dk> skrev i en meddelelse 
news:mailman.1.1165308202.19767.typo3-english at lists.netfielders.de...
> Peter Klein wrote:
>> Hi Brian. Look in "ext_tables.php" and "tca.php". In one of those 2 
>> files, the sorting in BE is defined.
>>
> Hi
>
> I found this:
>
> $TCA["tx_websiteportfolio_sites"] = Array (
> "ctrl" => Array (
> "title" => 
> "LLL:EXT:websiteportfolio/locallang_db.php:tx_websiteportfolio_sites", 
> "label" => "title", "tstamp" => "tstamp",
> "crdate" => "crdate",
> "cruser_id" => "cruser_id",
> "default_sortby" => "ORDER BY title", "delete" => "deleted", 
> "enablecolumns" => Array ( "disabled" => "hidden",
> ),
> "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
> "iconfile" => 
> t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_websiteportfolio_sites.gif",
> ),
> "feInterface" => Array (
> "fe_admin_fieldList" => "hidden, title, url, screenshot, description, 
> particulars, launchdate, category",
> )
> );
>
> I change the line: "default_sortby" => "ORDER BY title", to:
> "default_sortby" => "ORDER BY uid DESC",
>
> but it had no effect. And I have tried clearing the cache.
>
> /Brian 




More information about the TYPO3-english mailing list