Installation
Requirements
| Extension Version | TYPO3 | PHP |
|---|---|---|
| 4.x | 12.4 LTS, 13.4 LTS | 8.2 - 8.4 |
| 3.x | 11.5 LTS | 7.4 - 8.1 |
The recommended way to install this extension is via Composer.
Installation via Composer
composer require netresearch/contexts
Copied!
After installation, activate the extension in the TYPO3 Extension Manager or via CLI:
vendor/bin/typo3 extension:activate contexts
Copied!
Site Set Configuration (TYPO3 v13+)
New in version 4.0.0
Site Sets support for TYPO3 v13.
For TYPO3 v13 and later, you can include the Contexts site set in your site configuration:
- Go to Site Management > Sites
- Edit your site configuration
- In the Sets tab, add "Contexts - Multi-channel content visibility"
Alternatively, add it to your site's config/:
imports:
- { resource: "EXT:contexts/Configuration/Sets/Contexts/config.yaml" }
Copied!
Classic TypoScript Include (TYPO3 v12+)
For traditional TypoScript setup, include the static template:
- Go to Web > Template
- Select your root page
- Edit the template record
- In Includes, add "Contexts" to the selected items
Database Updates
After installation, run the database analyzer to create required tables:
vendor/bin/typo3 database:updateschema
Copied!
Or use the Admin Tools > Maintenance > Analyze Database Structure module in the TYPO3 backend.
Verification
After installation, you should see:
- A new "Contexts" module in the backend (under Admin Tools)
- "Context visibility" options in page and content element properties
- Database tables:
tx_,contexts_ contexts tx_contexts_ settings