Attention

TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.

be.infobox

ViewHelper for rendering a styled content infobox markup.

States

The Infobox provides different context sensitive states that can be used to provide an additional visual feedback to the to the user to underline the meaning of the information.

Possible values are in range from -2 to 2. Please choose a meaningful value from the following list.

-2

Notices (Default)

-1

Information

0

Positive feedback

1

Warnings

2

Error

Examples

Simple:

<f:be.infobox title="Message title">your box content</f:be.infobox>

All options:

<f:be.infobox title="Message title" message="your box content" state="-2" iconName="check" disableIcon="true" />

Arguments

message

DataType

string

Required

false

Description

The message of the info box, if NULL tag content is used

title

DataType

string

Required

false

Description

The title of the info box

state

DataType

mixed

Default

-2

Required

false

Description

The state of the box, InfoboxViewHelper::STATE_*

iconName

DataType

string

Required

false

Description

The icon name from font awesome, NULL sets default icon

disableIcon

DataType

mixed

Required

false

Description

If set to TRUE, the icon is not rendered.