Feature #99202
closedAllow the usage of editable typoscript constants in the CKEditor
0%
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.
Updated by Georg Ringer 5 months ago
- Status changed from New to Resolved
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.