Skip to main content

Inserting New Content

Content is inserted from TYPO3's Page module. Locate the page and the page column in which the new element should be rendered, then click Create new content element. TYPO3 opens the New Content Element wizard where the available Flux Content Elements are listed together with the standard content types.

After selecting a Flux Content Element you are taken to its editing form. The fields in this form are the fields declared in the template's Configuration section. Required fields, tabs, sections and relations all work in the same way as they do in other TYPO3 editing forms. Enter the content, save the record and return to the Page module to see the backend preview.

The position selected before opening the wizard is important. For normal page content TYPO3 stores the selected column in colPos, and the page template decides where that column is rendered. A Flux Content Element can also define a grid with its own content areas. In that case new child elements should be inserted by using the Create new content element button inside the desired grid area. Flux then keeps track of both the parent element and the selected grid column.

The template sections have different purposes during this process:

  • Configuration defines the form presented to the editor.
  • Preview controls how the saved record is represented in the backend.
  • Main renders the content element in the frontend.

This separation makes it possible to keep the editing form focused, provide a useful visual summary in the Page module and still use completely different markup for the website.

Existing elements can be moved or copied with TYPO3's normal controls. When moving content into or out of a Flux grid, use the controls in the Page module so TYPO3 and Flux can update the placement information together. After moving an element, check the frontend once to make sure the destination page template renders the selected column.