Reputation: 510
Is it possible to change the order of the displayed (database) tables in the backend list module? I've got a sysfolder with several different tables of my extension and i want the "important" tables to be shown on top. TYPO3 Version is 6.2 LTS.
Upvotes: 1
Views: 2323
Reputation: 46
Since TYPO3 7 you can do that with page TSconfig:
mod.web_list.tableDisplayOrder
See also: https://docs.typo3.org/m/typo3/reference-tsconfig/main/en-us/PageTsconfig/Mod.html#tabledisplayorder
Upvotes: 3
Reputation: 55798
The tables are displayed in the same order as TCA arrays are ordered in ext_tables.php
in your extension.
Don't forget to Flush system cache
(now in Install Tool > Important actions) to reflect the changes.
EDIT: Important for extensions built with Builder 6.2:
To make sure that works you need to replace $GLOBALS['TCA']
to $TCA
in ext_tables
and all TCA files!
For an example change every occurrence of:
$GLOBALS['TCA']['tx_myext_domain_model_mymodel']
to
$TCA['tx_myext_domain_model_mymodel']
Clear the system cache from Install Tool and it will work.
Upvotes: 0