schriner/additional-site-conditions

Additional Site Conditions for TYPO3.

Installs: 1 183

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

v0.2.3 2022-03-04 09:55 UTC

This package is auto-updated.

Last update: 2023-05-04 12:33:17 UTC


README

Additional site conditions for the site yml.

Installation

Simply install the extension with Composer or the Extension Manager.

composer require schriner/additional-site-conditions

Usage

Currently implemented.

indpEnv.get

Use to get the value of a GeneralUtility::getIndpEnv() call.

This is useful e.g. if a site is called by a different hostname in a local context and can't resolve it's true hostname.

Usage:

baseVariants:
  - base: https://foo-bar/
    condition: indpEnv.get("HTTP_HOST") == "foo-bar"