PHPackages                             blueways/bw-static-template - 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. [Templating &amp; Views](/categories/templating)
4. /
5. blueways/bw-static-template

ActiveTypo3-cms-extension[Templating &amp; Views](/categories/templating)

blueways/bw-static-template
===========================

TYPO3 extension that adds a new content element for rendering static fluid templates. Inject JSON and FAL data into the templates.

4.0.0(1y ago)234.0k—5.6%2[2 PRs](https://github.com/maikschneider/bw_static_template/pulls)MITPHPCI passing

Since Mar 20Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/maikschneider/bw_static_template)[ Packagist](https://packagist.org/packages/blueways/bw-static-template)[ RSS](/packages/blueways-bw-static-template/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (15)Versions (28)Used By (0)

[![Extension icon](Resources/Public/Icons/Extension.svg)](Resources/Public/Icons/Extension.svg)

TYPO3 extension `bw_static_template`
====================================

[](#typo3-extension-bw_static_template)

[![Latest version](https://camo.githubusercontent.com/fc1a4e827dd8c6cb9d7d1a7eb66d957b2ba1e0f04c7fdf8bf92ba62d3a24877f/68747470733a2f2f7479706f332d6261646765732e6465762f62616467652f62775f7374617469635f74656d706c6174652f76657273696f6e2f736869656c64732e737667)](https://camo.githubusercontent.com/fc1a4e827dd8c6cb9d7d1a7eb66d957b2ba1e0f04c7fdf8bf92ba62d3a24877f/68747470733a2f2f7479706f332d6261646765732e6465762f62616467652f62775f7374617469635f74656d706c6174652f76657273696f6e2f736869656c64732e737667)[![Supported TYPO3 versions](https://camo.githubusercontent.com/98c647db31bff6a0bc0866a1040ed59d0115aac0fc0959351732a85b270f01c6/68747470733a2f2f7479706f332d6261646765732e6465762f62616467652f62775f7374617469635f74656d706c6174652f7479706f332f736869656c64732e737667)](https://extensions.typo3.org/extension/bw_static_template)[![Total downloads](https://camo.githubusercontent.com/0494fd61ed6c501a80edc8b2732179b62cce86a73fb86dcf8ff56ab2fe2699a8/68747470733a2f2f7479706f332d6261646765732e6465762f62616467652f62775f7374617469635f74656d706c6174652f646f776e6c6f6164732f736869656c64732e737667)](https://camo.githubusercontent.com/0494fd61ed6c501a80edc8b2732179b62cce86a73fb86dcf8ff56ab2fe2699a8/68747470733a2f2f7479706f332d6261646765732e6465762f62616467652f62775f7374617469635f74656d706c6174652f646f776e6c6f6164732f736869656c64732e737667)[![Composer](https://camo.githubusercontent.com/cc923606df371f0abf0b01c045d05eaba8bb201e4f544d2c33074da15b4ff6d6/68747470733a2f2f7479706f332d6261646765732e6465762f62616467652f62775f7374617469635f74656d706c6174652f636f6d706f7365722f736869656c64732e737667)](https://packagist.org/packages/blueways/bw-static-template)

This TYPO3 extensions ships a custom content element that renders every fluid template. Inject JSON data or FAL files into the templates. Perfect for fast template development.

[![Plugin in the TYPO3 Backend](Documentation/Images/Preview.jpg)](Documentation/Images/Preview.jpg)

Why?
----

[](#why)

- Sometimes content is very unlikely to change regularly. It's faster to immediately write a fluid template than start the creation of a custom content element or adjusting an extension to your needs.
- No need to write TCA or TypoScript to get frontend output, that can be adjusted through the backend. (E.g. quick image or phone number change)
- Perfect if your customer is lazy and never thinks about logging into the backend to do the changes by his own
- If it's required to implement a standalone solution, the templates can be reused

Install
-------

[](#install)

1. Install via composer:

```
composer require blueways/bw-static-template
```

2. Include static TypoScript template or manually import it:

```
@import 'EXT:bw_static_template/Configuration/TypoScript/setup.typoscript'

```

Usage
-----

[](#usage)

Add the content element **Static Template** to a page

[![Content Element Wizard](./Documentation/Images/NewContentElement.png)](./Documentation/Images/NewContentElement.png)

Select a fluid template to render (e.g.: `EXT:your_ext/Resources/Private/Partials/Header.html`)

[![Backend TCA](./Documentation/Images/TCA.png)](./Documentation/Images/TCA.png)

Save &amp; done.

### Optional: Pass data into the template

[](#optional-pass-data-into-the-template)

Enter valid JSON:

```
{
    "templateMarker1": "Example marker data",
    "persons": [
        {
            "name": "Markus Mustermann",
            "contactPid": 3
        },
        {
            "name": "Paul Werner",
            "contactPid": 4
        }
    ]
}
```

Now you can use the given data in your template, e.g.:

```
Hello {templateMarker1}!

    Say hello to {person.name}

```

### Optional: Select images

[](#optional-select-images)

The selected images are accessible as **FileReference** via `{files}` marker.

```

```

Configuration
-------------

[](#configuration)

### Constants

[](#constants)

If you want to use the Layouts and Partials of fluid\_styled\_content, you just need to set the paths to the ones of your `styles.content` configuration:

```
plugin.tx_bwstatictemplate_pi1 {
    view {
        templateRootPath =
        partialRootPath =
        layoutRootPath =
    }
}

```

### TypoScript

[](#typoscript)

It's just a regular content element that is rendered like every other element of fluid\_style\_content. Here are some examples to inject some additional data into the templates:

```
tt_content.bw_static_template {

    # insert variables
    variables {
        foo = TEXT
        foo.value = bar
    }

    # use DtaProcessor (10 and 20 are reserved indexes)
    dataProcessing {
        # Inject a menu
        30 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
        30 {
            as = navigation
            entryLevel = 0
        }

        # Inject data about the current page
        40 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
        40 {
            table = pages
            pidInList = this
            as = page
        }
    }
}

```

License
-------

[](#license)

This project is licensed under [GNU General Public License 2.0 (or later)](LICENSE.md).

Contribute
----------

[](#contribute)

This extension was made by Maik Schneider: Feel free to contribute!

Thanks to [blueways](https://www.blueways.de/) and [XIMA](https://www.xima.de/)!

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance62

Regular maintenance activity

Popularity33

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 97.3% 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

Every ~128 days

Recently: every ~153 days

Total

17

Last Release

556d ago

Major Versions

v1.0.10 → v2.0.02021-10-29

v2.2.2 → v3.0.02023-04-03

v3.0.0 → v13.x-dev2024-11-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/04b105eb2ade5d364c2ae93a9a012d591594eaa3ad54d252db70856d1c293d5d?d=identicon)[m.schneider](/maintainers/m.schneider)

---

Top Contributors

[![maikschneider](https://avatars.githubusercontent.com/u/696865?v=4)](https://github.com/maikschneider "maikschneider (146 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

---

Tags

typo3typo3-cms-extensiontypo3

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/blueways-bw-static-template/health.svg)

```
[![Health](https://phpackages.com/badges/blueways-bw-static-template/health.svg)](https://phpackages.com/packages/blueways-bw-static-template)
```

###  Alternatives

[helhum/typoscript-rendering

Can render a TypoScript path by URL, especially useful for Ajax dispatching

68653.7k12](/packages/helhum-typoscript-rendering)[sitegeist/fluid-components

Encapsulated frontend components with Fluid's ViewHelper syntax

55339.1k3](/packages/sitegeist-fluid-components)[sitegeist/fluid-styleguide

Living styleguide for Fluid Components

16227.4k1](/packages/sitegeist-fluid-styleguide)[dirkpersky/typo3-rte-ckeditor-fontawesome

Adds the Fontawesome add-on to the CKEditor in TYPO3.

16147.9k](/packages/dirkpersky-typo3-rte-ckeditor-fontawesome)[t3brightside/microtemplate

TYPO3 CMS template – sectioned one pager with light box like sub pages

171.4k1](/packages/t3brightside-microtemplate)

PHPackages © 2026

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