Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
demo.typo3.org
demo.typo3.org TYPO3 Installation
Commits
e75ad681
Commit
e75ad681
authored
Mar 10, 2021
by
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
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/extensions/site_t3demo/Configuration/PageTsConfig/mod/wizards/newContentElement/Faqlist.tsconfig
View file @
e75ad681
...
...
@@ -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
}
src/extensions/site_t3demo/Configuration/TCA/Overrides/faqlist.php
View file @
e75ad681
...
...
@@ -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
,
],
],
],
];
src/extensions/site_t3demo/Resources/Private/Contenttypes/Templates/Faqlist.html
View file @
e75ad681
...
...
@@ -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}"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment