Attention

TYPO3 v10 has reached end-of-life as of April 30th 2023 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.

Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.

parseFunc

This function parses the main part of the content, i.e., the content which has been entered in the Rich Text Editor. The function is responsible for the fact that the content is not rendered exactly as it was entered in the RTE. Some default parsing rules are implemented in the core, like parsing link tags via typolink function.

You can also use parseFunc for your own processing. In the following example, every occurrence of "COMP" is replaced by "My company name":

page.stdWrap.parseFunc.short {
   COMP = My company name
}

The various possibilities of changing the default behavior can be found by using the TypoScript object browser. All possibilities of how parseFunc can alter the rendering can be found in the TypoScript Reference.