Issue Feature Closed

#99202Allow the usage of editable typoscript constants in the CKEditor

Dieter Porth 11/26/22, 01:27 updated 07/09/24, 12:46

Description

An annoying problem in TYPO3 is the collection of master data. I mean imprint data with master data in example. I mean data like the legal name of the company, the company address, the telephone number, the names of directors and other data.
According to the principle of one-off maintenance, I usually store such data in the editable typoScript constants. I make them in this way available for all extensions via the settings. Unfortunately I can’t make these constants available to the editors.

My Featurewish
It would be nice if an editor could not only access links and internal pages in CKEditor, but also internal editable TypoScript constants.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 2

  1. Georg Ringer commented and changed status New Resolved 06/10/24, 20:56

    you could use TS code like that

    https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/Functions/Replacement.html#examples

    page.10 = FLUIDTEMPLATE
    page.10 {
        stdWrap.replacement {
            10 {
                search = ###MY_TEXT###
                replace = {$constant}
            }
            20 {
                search = in da hood
                replace = around the block
            }
            30 {
                search = #a (Cat|Dog|Tiger)#i
                replace = an animal
                useRegExp = 1
            }
        }
    }

    but there are already extensions like https://extensions.typo3.org/extension/content_replacer or I would suggest to replace data with a custom MiddleWare if nothing from above fits.

  2. Benni Mack changed status Resolved Closed 07/09/24, 12:46