---
title: "New content element wizard"
manual: "News system"
version: "main"
permalink: "https://docs.typo3.org/permalink/georgringer/news:tsconfignewcewizard@main"
source: "Reference/TsConfig/NewContentElementWizard.rst"
rendered: "2026-09-23T19:24:09+00:00"
---

# New content element wizard {#tsconfignewcewizard}

This section covers settings which influence the New content element wizard.

## Example: Setting default values for News plugins (TYPO3 < 13) {#example-setting-default-values-for-news-plugins-typo3-13}

The following examples sets some default values of the plugin "News article list (incl. detail view)" and "News Article Detail View".

```typoscript
mod.wizards.newContentElement.wizardItems.ext-news {
    elements {
        news_list {
            tt_content_defValues {
                header_layout = 2
                header = Latest news from #replace this#
            }
        }

        news_detail {
           tt_content_defValues {
               header_layout = 3
               layout = 1
           }
       }
    }
}
```

> [!NOTE]
> The plugins are added to the **New Content Element** wizard by loading the TSConfig file [ContentElementWizard.tsconfig](https://github.com/georgringer/news/blob/main/Configuration/TSconfig/ContentElementWizard.tsconfig)
>
> In TYPO3 versions < 13 this is done automatically by the news extension.

## Example: Setting default values for News plugins (TYPO3 >= 13) {#example-setting-default-values-for-news-plugins-typo3-13-1}

<!-- TODO: no Markdown rendering for "versionchanged" -->

Custom content element types are auto-registered for the
New Content Element wizard. The listing can be configured using
TCA.See Feature: #102834 - Auto-registration of New Content Element Wizard via TCAThe TSConfig file that previously registered the plugins in the New Content Element wizard is not evaluated anymore.

The following examples sets some default values of the plugin "News article list (incl. detail view)"  and "News Article Detail View".

> [!NOTE]
> Notice the changed keys for the wizard group and elements:
>
> `news` represents the extension key
>
> `news_pi1` and `news_newsdetail` represent the plugin CType.

**EXT:my_extension/Configuration/TSConfig/ContentElementWizard.tsconfig**

```typoscript
mod.wizards.newContentElement.wizardItems.news {
    elements {
        news_pi1  {
            tt_content_defValues {
                header_layout = 2
                header = Latest news from X (replace this)
            }
        }

        news_newsdetail {
           tt_content_defValues {
               header_layout = 3
               layout = 1
           }
       }
    }
}
```

## Example: Setting default values for News plugins with TCA Overrides {#example-setting-default-values-for-news-plugins-with-tca-overrides}

<!-- TODO: no Markdown rendering for "versionadded" -->

Default values for the plugins can also be defined with TCA Overrides by using creationOptions of the tt_content type section.

**EXT:my_extension/Configuration/TCA/Overrides/tt_content.php**

```php
$GLOBALS['TCA']['tt_content']['types']['news_pi1]['creationOptions']['defaultValues'] = [
    'header_layout' => 2,
    'header' => 'Latest news from X (replace this)',
];

$GLOBALS['TCA']['tt_content']['types']['news_newsdetail]['creationOptions']['defaultValues'] = [
   'header_layout' => 3,
   'layout' => 1,
];
```
