[TYPO3-english] change default field order - TCA

Georg Schönweger georg.schoenweger at gmail.com
Mon Feb 21 16:55:58 CET 2011


Hi,

i would like to change the default field order for a table (TCA). Let's
say the extension writes fields to TCA in following order:
1. TITLE
2. SUBTITLE

i would like to change this to:
1. SUBTITLE
2. TITLE

I found nothing in TSconfig so i think it's not possible with user/page
TSConfig. Now i could change the field order by changing TCA directly in
ext_localconf.php or in my own extension;
$TCA['table_name']['types']['0']['showitem'] = 'many,many,fields...'
But i don't like this because the extension which defines this table is
also using Dynaflex and set's some fields dynamically. Is there a TYPO3
way of doing this or do i have to handle this by my own?

- Georg


More information about the TYPO3-english mailing list