https://github.com/b13/listelements
BETA: listelements
https://github.com/b13/listelements
Last synced: 12 months ago
JSON representation
BETA: listelements
- Host: GitHub
- URL: https://github.com/b13/listelements
- Owner: b13
- License: gpl-2.0
- Created: 2020-11-13T11:56:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-02T15:28:04.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T00:57:36.929Z (over 1 year ago)
- Language: PHP
- Size: 102 KB
- Stars: 8
- Watchers: 9
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# EXT:listelements #
## About this extension
This extension adds list items to tt_content. It adds a database field `tx_listelements_list` to `tt_content` that
allows adding flexible list items as IRRE records to any content element.
## Installation
Add the extension to your project by installing and adding the TypoScript setup to your site-Extension setup:
```
@import 'EXT:listelements/Configuration/TypoScript/setup.typoscript'
```
This adds the configuration for adding the list items as an array `listitems` to the variables available for your
content element's Fluid template, like this:
```
...
```
## Backend PageLayoutView preview
This extension adds a Hook and a Service class to allow customized display using Fluid templates for the backend Page
Layout View. Use this to add customized preview data if you add additional assets/image fields to be resolved for
backend preview:
`EXT:site_extension/Classes/Hooks/DrawItem.php`:
```