oliverthiele/ot-irrebuttons

Adds buttons to content elements with IRRE

Maintainers

Package info

github.com/oliverthiele/ot-irrebuttons

Homepage

Type:typo3-cms-extension

pkg:composer/oliverthiele/ot-irrebuttons

Statistics

Installs: 202

Dependents: 3

Suggesters: 0

Stars: 0

Open Issues: 0

v3.2.8 2026-03-17 21:29 UTC

This package is auto-updated.

Last update: 2026-03-17 21:30:01 UTC


README

Extends tt_content with IRRE-managed button records — buttons are configured directly in the backend without touching the RTE.

TYPO3 Packagist Version PHP License Changelog

Features

  • Buttons are managed as IRRE child records — no RTE markup required
  • Central control over button layout (style, size, position)
  • Optional icon support via a configurable list of icon identifiers
  • Icon partial can be overridden per project (Bootstrap Icons, FontAwesome, SVG sprites, …)
  • Configurable per CType via extension settings
  • Fancybox link type support
  • Compatible with TYPO3 content Slide (records from parent pages render correctly)
  • SiteSet support via sitekit.frameworks.frontend.directory

Requirements

Dependency Version
TYPO3 12.4 / 13.4
PHP 8.1+

Installation

composer require oliverthiele/ot-irrebuttons

Configuration

Extension Settings

Open Admin Tools → Settings → Extension Configuration → ot_irrebuttons.

Setting Description
CTypes with IRRE Buttons Comma-separated list of CTypes that show the buttons
Icons Comma-separated list of icon identifiers

For each configured CType the corresponding Fluid template from EXT:fluid_styled_content must be overridden in your SitePackage. A ready-to-use example is included for CType text.

TypoScript / SiteSet

The extension ships a SiteSet (OtIrrebuttons). Include it as a dependency in your site's SiteSet configuration — no manual TypoScript include required.

The template path constant sitekit.frameworks.frontend.directory (default: Bootstrap5) is provided by the SiteSet. Change the value in your site configuration if your project uses a different frontend framework directory.

The legacy constant projectSettings.framework.directory is still evaluated for backwards compatibility with installations that do not use SiteSets.

Icon Partial

The partial IrreButtons/Icon.html renders the icon identifier as plain text by default. Override the partial path in your SitePackage to adapt it to your icon set:

lib.contentElement {
    partialRootPaths {
        40 = EXT:my_sitepackage/Resources/Private/Content/Partials/
    }
}

Usage

Add the following snippet to any Fluid template where buttons should appear:

<f:if condition="{irreButtons}">
    <f:render partial="IrreButtons" section="Main"
              arguments="{data: data, irreButtons: irreButtons}"/>
</f:if>

The variable irreButtons is populated automatically by the included DataProcessor for every CType listed in the extension settings.

License / Author

GPL-2.0-or-later © Oliver Thiele