Search code examples
typo3tx-news

TYPO3 tx_news flexform configuration for be user group


I'd like to configure the items of the flexform select box for a BE user group. Is that possible? E.g. an editor should only be able to choose between list view and list of selected items. Screenshot of the selectbox in the backend


Solution

  • Via TsConfig you can configure almost every backend field. Since you want to change a plugin, this is done via TCEFORM.tt_content.pi_flexform because the selected values of the FlexForm field are saved in the tt_content table in the field pi_flexform.

    Your specific question is perfectly answered in the documentation of EXT:news:

    # Example: TCEFORM.tt_content.pi_flexform.news_pi1.sDEF.switchableControllerActions.removeItems = Tag->list

    The available items are:

    • News->list
    • News->detail
    • News->dateMenu
    • News->searchForm
    • News->searchResult
    • Category->list
    • Tag->list