Installation
Requirements
| Version | TYPO3 | PHP |
|---|---|---|
| 3.x | 13.4 - 14.x | 8.2 - 8.5 |
| 2.x | 11.5 - 13.4 | 8.1 - 8.4 |
Additional requirements:
- ImageDriver: GD, Imagick or libvips
Installation
Require the extension via Composer (recommended):
composer require konradmichalik/typo3-environment-indicator
Or download it from the TYPO3 extension repository.
Configuration
Note
TypoScript configuration is only necessary if you want to use the frontend hint.
Site Set (Recommended)
Important
Starting with version 3.0, Site Sets are required for the frontend TypoScript configuration. The legacy static TypoScript include is no longer supported.
Add the site set as a dependency in your site configuration:
base: 'https://example.com/'
rootPageId: 1
dependencies:
- konradmichalik/typo3-environment-indicator
Static Include (Version 2.x only)
Deprecated since version 3.0
The static TypoScript include is deprecated and removed in version 3.0. Please use Site Sets instead.
Alternatively, include the static TypoScript template via the Template module by adding "Environment Indicator" under Include static (from extensions).
Or directly import it in your sitepackage:
@import 'EXT:typo3_environment_indicator/Configuration/TypoScript/setup.typoscript'
Image Support
Only the following favicon image formats are supported: https://image.intervention.io/v3/introduction/formats
- Due to the wide distribution of
.icoand.svgfiles, these images are also supported.