remind/typo3-content

This package is abandoned and no longer maintained. The author suggests using the remind/headless package instead.

This extension contains default generic content elements

Installs: 114

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

1.0.0 2022-02-09 13:20 UTC

This package is auto-updated.

Last update: 2022-10-25 09:09:56 UTC


README

travis-img codecov-img styleci-img php-v-img github-issues-img contrib-welcome-img license-img

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.