I want to add a new sorting option to the flexform in the frontend plugin of the TYPO3 extension tx_news. This works fine so far with these additions:
ext_tables.php of my theme extension:
$TYPO3_CONF_VARS['EXT']['news']['orderByNews'] .= ',archive';
TypoScript configuration within my theme extension:
plugin.tx_news.settings.orderByAllowed := addToList(archive)
What I miss now is the possibility to change the label of the new item archive
in the select field Sort by
of the flexform.
I assume it is done via page TSconfig and TCEFORM.tt_content.pi_flexform.news_pi1.sDEF.settings.orderBy
but I can't figure out exactly how.
TYPO3 version is 6.2
altLabels
as mentioned at docs.typo3.org/typo3cms/TSconfigReference/PageTsconfig/TCEform/… There you can use any language file you want. Even inside of your theme extension. – Daniel