This tool can be accessed via Web | Templates | Constant Editor. It is mainly used to edit standard templates (for example, text and background color) by modifying constants. (We saw how to define constants in TypoScript in the Constants section above.) However, as we will see, the Constant Editor only makes sense if there is additional data within the constant definition.
The Constant Editor can only be used effectively if constants are appropriately commented. These comments tell the constant editor what the constants are used for. For example, the constant example introduced earlier contains the following code:
myText.Content = Hello World!
Here myText.Content
is a constant, but without comments it cannot be edited by the Constant Editor. If you define this constant as above and start the Constant Editor, it reports back with the messages No constants available and There are no editable constants available for the Constant Editor. If you want the...