PHPackages                             quellenform/t3x-dynamic-layouts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. quellenform/t3x-dynamic-layouts

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

quellenform/t3x-dynamic-layouts
===============================

Adds dynamic layouts to content elements.

0.0.1(3mo ago)00GPL-3.0-or-laterHTML

Since Apr 15Pushed 3mo agoCompare

[ Source](https://github.com/quellenform/t3x-dynamic-layouts)[ Packagist](https://packagist.org/packages/quellenform/t3x-dynamic-layouts)[ Docs](https://extensions.typo3.org/extension/dynamic-layouts)[ RSS](/packages/quellenform-t3x-dynamic-layouts/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![Donate](https://camo.githubusercontent.com/6c77ceb6b90e7f66f006be54740623450b1197f935060be46d7202652a43c773/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e7376673f7374796c653d666f722d7468652d6261646765)](https://www.paypal.me/quellenform)[![Latest Stable Version](https://camo.githubusercontent.com/4c751fcaad074c2e4c737ba135f6eca5ca1a39773f08b869d840954feb47922b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7175656c6c656e666f726d2f7433782d64796e616d69632d6c61796f7574733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/quellenform/t3x-dynamic-layouts)[![TYPO3](https://camo.githubusercontent.com/412549bf6ab9f342feed90e1fecc71a7e7230d99f36bc45fed2f7504c8e0cc30/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d313325374331342d2532336634393730302e7376673f7374796c653d666f722d7468652d6261646765)](https://get.typo3.org/)[![License](https://camo.githubusercontent.com/c0db7e8bf4f30c511bcf98de685846c21ae6a4fe244c016a46230f92c39ac9ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7175656c6c656e666f726d2f7433782d64796e616d69632d6c61796f7574733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/quellenform/t3x-dynamic-layouts)

Dynamic Layouts
===============

[](#dynamic-layouts)

TYPO3 CMS Extension `dynamic_layouts`

This extension makes the "Layout" field dynamic for content elements and also adds a field for layout styles.

What does it do?
----------------

[](#what-does-it-do)

The [EXT:fluid\_styled\_content](https://github.com/TYPO3-CMS/fluid_styled_content) and [EXT:bootstrap\_package](https://github.com/benjaminkott/bootstrap_package) extensions have consistently ignored this field up to now, and their templates are hardcoded to always use only the *Default* template.

This extension aims to change this situation and make this field dynamic by, on the one hand, making the references to the used layout flexible, and on the other hand, allowing flexible values to be used via PageTS and TypoScript.

How to use it?
--------------

[](#how-to-use-it)

This extension adds a minor modification to the existing templates (overwriting them), which is why you must apply the same change to your custom templates.

Old:

```

```

New:

```

```

The variable `{layoutName}` is populated via TypoScript (DataProcessor) with the layout name you have selected, allowing you to use custom layouts.

Additionally, the field value of “layout\_style” is translated into the variable `{layoutStyle}` in the same way, according to your TypoScript configuration, allowing you to create further custom setups.

### PageTS

[](#pagets)

In PageTS, you can now define your own elements for the “Layout” field. You can also add custom layout styles for each layout.

Something like this:

```
# PageTS
TCEFORM.tt_content {
  layout {
    disableNoMatchingValueElement = 1

    altLabels {
      1 = Hero
      2 = Modal
      3 = Card
    }
    addItems {
      4 = Citation
    }

    # [BUGFIX:1432] https://github.com/benjaminkott/bootstrap_package/issues/1432
    #removeItems >
    #types.uploads >
  }
}

# Use 'itemsProcFunc' if you want to add/override TCA items of the field 'layout_style' (!)
TCEFORM.tt_content.layout_style.itemsProcFunc {
  addItems {
    1 {
      1 = Style 1
    }
    1 {
      1 = Style 1
      2 = Style 2
    }
    3 {
      1 = Style 1
      2 = Style 2
      3 = Style 3
    }
    4 {
      1 = Style 1
    }
  }
  # Modify label (modify the label of the second style of layout 3)
  #altLabels.3.2 = Override Label
  # Remove items (remove all style for layout 1 and 2, but only first style of layout 3)
  #removeItems = 1, 2, 3.1
}

```

### TypoScript Setup

[](#typoscript-setup)

You can then use TypoScript to specify which layouts to use and which names should be used to override the selected layout styles.

```
lib.contentElement {
  layoutRootPaths.1 = EXT:my_custom_extension/Resources/Private/Layouts/
}

plugin.tx_dynamic_content {
  layout {
    1 = Hero
    2 = Modal
    3 = Card
    4 = Citation
  }
  layout_style {
    # Hero
    1 {
      0 = frame-layout-hero
      1 = frame-layout-maxhero
    }
    # Modal
    2 {
      1 = modal fade
      2 = modal modal-btn-centered
    }
    # Card
    3 {
      1 = card card-layout1
      2 = card card-layout2
      3 = card card-layout3
    }
    # Citation
    4 {
      0 = citation
      1 = citation hero
    }
  }
}

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance81

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

100d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7259c62fe1b5414265a201fd6b3a738248eff1683e646a3aafec89523fd581ae?d=identicon)[quellenform](/maintainers/quellenform)

---

Top Contributors

[![stephankellermayr](https://avatars.githubusercontent.com/u/2480602?v=4)](https://github.com/stephankellermayr "stephankellermayr (1 commits)")

---

Tags

extensiontypo3

### Embed Badge

![Health badge](/badges/quellenform-t3x-dynamic-layouts/health.svg)

```
[![Health](https://phpackages.com/badges/quellenform-t3x-dynamic-layouts/health.svg)](https://phpackages.com/packages/quellenform-t3x-dynamic-layouts)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k57](/packages/friendsoftypo3-content-blocks)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

40529.5k](/packages/wazum-sluggi)[clickstorm/cs-seo

\[clickstorm\] SEO - Extension for TYPO3. Enables important onpage features for search engine optimization (SEO). Expands the page settings and any desired records for example with a preview for Google search results (SERP) Structured Data (JSON-LD) and a Focus Keyword. Restrictive hreflang and canonical tags. Modules for metadata of records and alternative texts of images. Further features are shown in the extension manual.

36527.0k1](/packages/clickstorm-cs-seo)[friendsoftypo3/tt-address

Displays a list of addresses from an address table on the page.

441.8M44](/packages/friendsoftypo3-tt-address)[friendsoftypo3/visual-editor

TYPO3 CMS Visual Editor - Brings a modern WYSIWYG editing experience to TYPO3 CMS.

576.1k2](/packages/friendsoftypo3-visual-editor)[quellenform/t3x-iconpack

Provides an iconpack-registry for custom iconpacks.

1552.6k26](/packages/quellenform-t3x-iconpack)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
