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.

5.0.0(3mo ago)337.9k↓38.3%2[1 issues](https://github.com/maikschneider/bw_static_template/issues)[5 PRs](https://github.com/maikschneider/bw_static_template/pulls)MITPHPCI passing

Since Mar 20Pushed 2w 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 2d ago

READMEChangelog (9)Dependencies (31)Versions (43)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 extension 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 to create a custom content element or adjust 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)
- If a standalone solution is required, the templates can be reused.

Install
-------

[](#install)

1. Install via composer:

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

2. Add the site set `blueways/bw-static-template` to your site configuration:

```
# config/sites//config.yaml
sets:
    - blueways/bw-static-template
```

Usage
-----

[](#usage)

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

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

### Select a template

[](#select-a-template)

Enter a Fluid template path in the **Frontend template** field:

- A template name (e.g. `MyTemplate`) — resolved against the configured `templateRootPaths`
- A full EXT: path (e.g. `EXT:your_ext/Resources/Private/Templates/MyTemplate.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 in the **JSON** field:

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

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

```
Hello {templateMarker1}!

    Say hello to {person.name}

```

### Optional: Load JSON from file

[](#optional-load-json-from-file)

Toggle **Use database** off to load JSON from a file path instead of the inline editor. Enter a relative or `EXT:` path in the **JSON file path** field. Remote URLs are also supported.

### Optional: Select images

[](#optional-select-images)

The selected images are accessible as `FileReference` objects via the `{files}` variable:

```

```

### Optional: Backend preview template

[](#optional-backend-preview-template)

Enter a template name or `EXT:` path in the **Backend preview** field to render a custom Fluid template in the backend page module instead of the default JSON table view. The same JSON data and file variables are available as in the frontend template.

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

[](#configuration)

### Constants

[](#constants)

Configure the template root paths so that template names are resolved correctly:

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

```

### TypoScript

[](#typoscript)

The content element is rendered like any other `lib.contentElement`-based element. Use standard TypoScript to inject additional data:

```
tt_content.bw_static_template {

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

    # use DataProcessor (indexes 10 and 20 are reserved)
    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

55

—

FairBetter than 97% of packages

Maintenance84

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 94.5% 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 ~142 days

Recently: every ~273 days

Total

19

Last Release

93d 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

4.1.0 → 5.0.02026-04-01

### 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 (205 commits)")[![konradmichalik](https://avatars.githubusercontent.com/u/4558190?v=4)](https://github.com/konradmichalik "konradmichalik (6 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] (3 commits)")

---

Tags

typo3typo3-cms-extensiontypo3

###  Code Quality

TestsCodeception

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

[friendsoftypo3/content-blocks

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

103519.9k53](/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)[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)[sitegeist/fluid-styleguide

Living styleguide for Fluid Components

16241.4k1](/packages/sitegeist-fluid-styleguide)[andersundsehr/storybook

The one and only Storybook Renderer for TYPO3 Fluid Components

214.1k](/packages/andersundsehr-storybook)[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)
