在TYPO3中,您可以定义自定义布局,专门在“外观>内容元素布局>布局”中显示,用于特定的CType,例如“gridelements_pi1”。如何针对特定的list_type(其中CType为“list”)执行此操作?
代码示例:
代码示例:
TCEFORM {
tt_content {
layout {
addItems {
# layout items for all
}
types {
# CType "gridelements_pi1"
gridelements_pi1 {
addItems {
# layout items only for "gridelements"
}
}
list {
# is it possible to have
# layout items only for list_type "XYZ" ?
}
}
}
}
}