Typo3 类型3网格元素嵌套不工作
我已经基于bootstrap_网格创建了一个扩展,但无法嵌套网格元素。我理解allowed=*应该完成这项工作,但是ce不会出现在嵌套元素中Typo3 类型3网格元素嵌套不工作,typo3,tx-gridelements,Typo3,Tx Gridelements,我已经基于bootstrap_网格创建了一个扩展,但无法嵌套网格元素。我理解allowed=*应该完成这项工作,但是ce不会出现在嵌套元素中 tx_gridelements { setup { section { title = LLL:EXT:h_grid/Resources/Private/Language/locallang_db.xlf:section.title description = LLL:EXT:h_gr
tx_gridelements {
setup {
section {
title = LLL:EXT:h_grid/Resources/Private/Language/locallang_db.xlf:section.title
description = LLL:EXT:h_grid/Resources/Private/Language/locallang_db.xlf:section.description
icon = EXT:h_grid/Resources/Public/Icons/gridlayout_section.gif
frame = 3
topLevelLayout = 0
config {
colCount = 1
rowCount = 1
rows.1 {
columns {
1 {
name = LLL:EXT:h_grid/Resources/Private/Language/locallang_db.xlf:celayout.leftColumn
colPos = 101
allowed = *
allowedGridTypes = *
}
}
}
}
}
....
我错过什么了吗?试着省去这些行
allowed = *
allowedGridTypes = *
当您实际上没有排除任何元素时。我真的不知道发生了什么,但是如果您删除了allowed和AllowedGridType,因为您没有限制允许的值,会发生什么?谢谢。这里的行为真奇怪。当我删除这些行时,它真的像你提到的那样工作。但它是否也应该与allowed=*一起工作?只要我添加allowed=*所有可用元素都会显示,但网格元素不会显示。我想应该是这样的。我只在列出实际元素时使用过它,当我不想排除任何元素时,就省略了这一行,这就是我建议尝试的原因。那么,我将添加此作为答案。
tx_gridelements {
setup {
section {
title = LLL:EXT:h_grid/Resources/Private/Language/locallang_db.xlf:section.title
description = LLL:EXT:h_grid/Resources/Private/Language/locallang_db.xlf:section.description
icon = EXT:h_grid/Resources/Public/Icons/gridlayout_section.gif
frame = 3
topLevelLayout = 0
config {
colCount = 1
rowCount = 1
rows.1 {
columns {
1 {
name = LLL:EXT:h_grid/Resources/Private/Language/locallang_db.xlf:celayout.leftColumn
colPos = 101
allowed = *
allowedGridTypes = *
}
}
}
}
}
....