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:

  1. Go to Site Management > Sites
  2. Edit your site configuration
  3. In the Sets tab, add "Contexts - Multi-channel content visibility"

Alternatively, add it to your site's config/sites/<identifier>/config.yaml:

imports:
  - { resource: "EXT:contexts/Configuration/Sets/Contexts/config.yaml" }
Copied!

Classic TypoScript Include (TYPO3 v12+) 

For traditional TypoScript setup, include the static template:

  1. Go to Web > Template
  2. Select your root page
  3. Edit the template record
  4. 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:

  1. A new "Contexts" module in the backend (under Admin Tools)
  2. "Context visibility" options in page and content element properties
  3. Database tables: tx_contexts_contexts, tx_contexts_settings