remind / content
This extension contains default generic content elements
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: ^7.4.0
- ichhabrecht/content-defender: ^3.2.0
- typo3/cms-core: ^10.4.0 | ^11.5
Requires (Dev)
- phpmd/phpmd: ^2.10.2
- remind/confluence-changelog: ^0.3.0
- sebastian/phpcpd: ^6.0.3
- squizlabs/php_codesniffer: ^3.6.0
- typo3/testing-framework: ^6.9.0
This package is auto-updated.
Last update: 2022-10-19 12:39:44 UTC
README
installation
Use comoser to install the extension using composer install remind/typo3-content
.
Does not require any typoscript at the moment. TSConfig is imported automatically.
dependencies
Besides typo3 the only required dependency is content-defender. It is used in the default backend layout.
backend layouts
default
The default layout consists of 1 column with 3 rows. Besides the main content (colPos = 0) there is also one column for content above the breadcrumbs (colPos = 1) and the footer (colPos = 2).
The content defender extension is used to only allow exactly one footer_content content element in the footer column. The footer_content content element can not be used in the other columns.
TCA
tt_content
rmnd_content_items
Field of type inline. Basically rmnd_content_items
acts like tt_content without a colPos
. Used for accordion
, header_slider
and tabs
. See one of these definition on how to use items and override the showitem definition.
header_layout
Values for text, H1-H6 and hidden.
background_color
A background color for all content elements. Choice between none
, primary
, secondary
, accent
, white
and black
.
background_full_width
Only visible if background_color
is other than none
. Used to extend the background color to full width instead of the content container only.
space_before_inside
Addition to space_before
. Space before the content element, but inside the background color. Only available if background_color
is other than none.
space_after_inside
Similar to space_before_inside
.
pages
overview_label
An overview_label
field is added to the page TCA. The field should be used to customize the label for the overview pages.
content elements
accordion
Uses rmnd_content_items
, items consist of text (header, subheader, bodytext) only.
footer_content
Basic definition without any actual content fields. Add a flexform in your provider extension to use footer_content
:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue( '*', 'FILE:EXT:provider_extension/Configuration/FlexForms/FooterContent.xml', 'footer_content' );
header_slider
Header Slider content element that uses rmnd_content_items
. Consists of multiple slides with text and image. Autoplay can be enabled with duration between 500ms and 10000ms.
tabs
Uses rmnd_content_items
, items consist of text (header, subheader, bodytext) only.