ViewHelpers 

The extension provides two Fluid ViewHelpers for use in custom templates.

Namespace: http://typo3.org/ns/KonradMichalik/Typo3EnvironmentIndicator/ViewHelpers

Namespace prefix: env

<html xmlns:env="http://typo3.org/ns/KonradMichalik/Typo3EnvironmentIndicator/ViewHelpers"
    data-namespace-typo3-fluid="true">
Copied!

Table of Contents

FaviconViewHelper 

Processes a favicon path through the configured environment indicator modifiers. If no Favicon indicator is active for the current context, the original path is returned unchanged.

Arguments:

Argument Type Description
favicon string The favicon path. Can also be passed as tag content (inline notation).

Usage:

<!-- As argument -->
{env:favicon(favicon:'EXT:your_extension/Resources/Public/Favicon/favicon.png')}

<!-- As inline pipe -->
{f:uri.resource(path:'EXT:your_extension/Resources/Public/Favicon/favicon.png') -> env:favicon()}
Copied!

ImageViewHelper 

Processes a frontend image path through the configured environment indicator modifiers. If no Frontend Image indicator is active for the current context, the original path is returned unchanged.

Arguments:

Argument Type Description
_path string The image path. Can also be passed as tag content (inline notation).

Usage:

<!-- As inline pipe -->
{f:uri.resource(path:'EXT:your_extension/Resources/Public/Images/logo.png') -> env:image()}
Copied!