Static Template TYPO3 extension
===============================
Frontend plugin that renders fluid templates. Inject JSON data or FAL
files into the templates. Perfect for fast template development with
example data.
.. figure:: Documentation/Images/Example.png
:alt: Plugin in the TYPO3 Backend
Plugin in the TYPO3 Backend
Install
-------
- via composer:
::
composer require blueways/bw-static-template
- include static typoscript template
- include static pageTS template
Usage
-----
Add plugin to page
~~~~~~~~~~~~~~~~~~
Select fluid template to render (e.g.:
``EXT:your_ext/Resources/Private/Partials/Header.html``)
Optional: Pass data into template
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter valid JSON:
.. code:: json
{
"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: Select images
~~~~~~~~~~~~~~~~~~~~~~~
The selected images are accessible as **FileReference** via ``{files}``
marker.
::
Contribute
----------
This extension was made by Maik Schneider from
`blueways `__. Feel free to contribute!
- `Bitbucket-Repository `__