Limit content elements

If you want to limit the available content element types for news records, you have two options to configure that with Page TSConfig:

  1. TCEFORM:

    TCEFORM.tt_content.CType.removeItems = html,bullets,div,menu_subpages
    Copied!
  2. Backend Layout settings:

    mod.web_layout.BackendLayouts.1.config.backend_layout.rows.1.columns.1.allowed = textmedia,textpic
    TCAdefaults.tt_content.CType = textmedia
    Copied!

With the first line you change the allowed CTypes for the backend layout that applies to your news sysfolder. The second line sets the default CType to prevent an error with e.g. INVALID VALUE ("text")