TypoScript

At the section Include one of the available site sets you have already added the TypoScript by depending on the site set.

The TypoScript of the site set includes files located in the directory EXT:fluid_styled_content/Configuration/TypoScript/.

Structure of the TypoScript files

Structure of the TypoScript files

In this folder there are two files:

  • constants.typoscript - This file is only used when for compatibility reasons the TypoScript is included via import or TypoScript module in the outdated fashion.
  • setup.typoscript - This file will first include some other files which are located in the Setup/ folder in the same directory. More about these files later.

In the folder ContentElement/ there are files which are included by the file setup.typoscript as mentioned above. These files contain the rendering definitions of all content elements that are provided by the TYPO3 Core. These are:

  • Bullets.typoscript - Configuration for content element "Bullet List"
  • Div.typoscript - Configuration for content element "Divider"
  • Header.typoscript - Configuration for content element "Header Only"
  • Html.typoscript - Configuration for content element "Plain HTML"
  • Image.typoscript - Configuration for content element "Image"
  • List.typoscript - Configuration for content element "General Plugin"
  • MenuAbstract.typoscript - Configuration for content element "Menu of subpages of selected pages including abstracts"
  • MenuCategorizedContent.typoscript - Configuration for content element "Content elements for selected categories"
  • MenuCategorizedPages.typoscript - Configuration for content element "Pages for selected categories"
  • MenuPages.typoscript - Configuration for content element "Menu of selected pages"
  • MenuRecentlyUpdated.typoscript - Configuration for content element "Recently updated pages"
  • MenuRelatedPages.typoscript - Configuration for content element "Related pages (based on keywords)"
  • MenuSection.typoscript - Configuration for content element "Section index (page content marked for section menus)"
  • MenuSectionPages.typoscript - Configuration for content element "Menu of subpages of selected pages including sections"
  • MenuSitemap.typoscript - Configuration for content element "Sitemap"
  • MenuSitemapPages.typoscript - Configuration for content element "Sitemaps of selected pages"
  • MenuSubpages.typoscript - Configuration for content element "Menu of subpages of selected pages"
  • Shortcut.typoscript - Configuration for content element "Insert records"
  • Table.typoscript - Configuration for content element "Table"
  • Text.typoscript - Configuration for content element "Regular Text Element"
  • Textmedia.typoscript - Configuration for content element "Text and Media"
  • Textpic.typoscript - Configuration for content element "Text and Images"
  • Uploads.typoscript - Configuration for content element "File Links"

Since we move away from TypoScript as much as possible, these rendering definitions only declare the following:

  • Can FLUIDTEMPLATE be used immediately or do we need data processing first?

    A processor is sometimes used to do some data manipulation before all the data is sent to the Fluid template.

  • Assigning the Fluid template file for each type of content element separately.

In the folder Helper/ there are files which are included by the file setup.typoscript as mentioned above. These are:

  • ContentElement.typoscript - Default configuration for content elements using FLUIDTEMPLATE
  • ParseFunc.typoscript - Creates persistent ParseFunc setup for non-HTML content