Commit e75ad681 authored by Matthias Stegmann's avatar Matthias Stegmann
Browse files

[TASK] Revert removing of header + text from faqlist ce

#10
parent 9c178f79
Pipeline #10494 passed with stages
in 1 minute and 59 seconds
......@@ -3,5 +3,4 @@ mod.wizards.newContentElement.wizardItems.special.elements.faqlist {
description = LLL:EXT:site_t3demo/Resources/Private/Language/locallang_db.xlf:CType.faqlist.description
tt_content_defValues.CType = faqlist
iconIdentifier = mimetypes-x-faq_t3demo
saveAndClose = true
}
......@@ -16,5 +16,15 @@ defined('TYPO3_MODE') or die();
$GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['faqlist'] = 'mimetypes-x-faq_t3demo';
$GLOBALS['TCA']['tt_content']['types']['faqlist'] = [
'showitem' => $GLOBALS['TCA']['tt_content']['defaultTypeConfiguration']['begin'] . $GLOBALS['TCA']['tt_content']['defaultTypeConfiguration']['end'],
'showitem' => $GLOBALS['TCA']['tt_content']['defaultTypeConfiguration']['begin'] . '
--palette--;;headers,
bodytext,
' . $GLOBALS['TCA']['tt_content']['defaultTypeConfiguration']['end'],
'columnsOverrides' => [
'bodytext' => [
'config' => [
'enableRichtext' => true,
],
],
],
];
......@@ -7,12 +7,14 @@
<f:layout name="Default" />
<f:section name="Header"></f:section>
<f:section name="Main">
<ac:css file="EXT:site_t3demo/Resources/Public/Css/faqlist.css" />
<f:if condition="{data.bodytext}">
<f:format.html>{data.bodytext}</f:format.html>
</f:if>
<div class="b_faq">
<f:for each="{faqs}" as="faq">
<input type="checkbox" id="faq-{faq.data.uid}" class="b_pseudo b_pseudo--faq" name="faq-{faq.data.uid}" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment