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

30 lines
1.3 KiB
Text

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
task = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.task
}
}
}