ds-site/Configuration/PageTSconfig/Mod/Wizards/Admonition.tsconfig

30 lines
1.2 KiB
Text
Raw Normal View History

2019-12-13 15:17:30 +01:00
mod {
wizards.newContentElement.wizardItems.common {
elements {
admonition {
iconIdentifier = content-idea
title = Admonition
description = Displays a hint, note, …
tt_content_defValues {
CType = admonition
header_layout = note
}
}
}
show := addToList(admonition)
}
web_layout.tt_content.preview.admonition = EXT:ds_site/Resources/Private/Templates/Backend/ContentElements/Admonition.html
}
TCEFORM.tt_content {
CType.keepItems := addToList(admonition)
header_layout.types.admonition {
keepItems = hint, danger
addItems {
note = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.note
hint = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.hint
caution = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.caution
danger = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.danger
}
}
}