Php 如何在Gridextension typo3中插入表单?
我使用的是TYPO3 9.5,我尝试使用gridelements扩展在网格元素中插入表单: 我正在使用:Php 如何在Gridextension typo3中插入表单?,php,forms,typo3,typo3-9.x,tx-gridelements,Php,Forms,Typo3,Typo3 9.x,Tx Gridelements,我使用的是TYPO3 9.5,我尝试使用gridelements扩展在网格元素中插入表单: 我正在使用: "require": { "typo3/cms-base-distribution": "^9.5", "gridelementsteam/gridelements": "^9.3", "mask/mask": "^4.1", "ichhabrecht/mask-export": "^2.4", }, 因此,网格列在前端工作正常,内容正在显示,唯一的问题是,
"require": {
"typo3/cms-base-distribution": "^9.5",
"gridelementsteam/gridelements": "^9.3",
"mask/mask": "^4.1",
"ichhabrecht/mask-export": "^2.4",
},
因此,网格列在前端工作正常,内容正在显示,唯一的问题是,如果我将表单放在网格列中,它不会显示在前端
后端网格元素:
调试所有数据时的前端网格元素:
谢谢:D你应该检查一下你的静态字体。我从过去错误的配置中知道这个问题。您应该检查静态脚本。我从过去错误的配置中知道这个问题。如果表单基于flexform,则应在设置特定gridelement时禁用匹配参数
dataProcessing {
10 = GridElementsTeam\Gridelements\DataProcessing\GridChildrenProcessor
10 {
default {
as = children
# Default options of the grid children processor
# Change them according to the needs of your layout
# Read more about it in the TypoScript section of the manual
options {
# sortingDirection = ASC
# sortingField = sorting
# recursive = 0
resolveFlexFormData = 0
# resolveBackendLayout = 1
# respectColumns = 1
# respectRows = 1
}
}
}
}
此外,还有一个功能请求,用于禁用除gridelements之外的子元素的flexform解析
如果表单基于flexform,则应在该特定gridelement的设置中禁用匹配参数
dataProcessing {
10 = GridElementsTeam\Gridelements\DataProcessing\GridChildrenProcessor
10 {
default {
as = children
# Default options of the grid children processor
# Change them according to the needs of your layout
# Read more about it in the TypoScript section of the manual
options {
# sortingDirection = ASC
# sortingField = sorting
# recursive = 0
resolveFlexFormData = 0
# resolveBackendLayout = 1
# respectColumns = 1
# respectRows = 1
}
}
}
}
此外,还有一个功能请求,用于禁用除gridelements之外的子元素的flexform解析
谢谢你的回答,但我检查了,没有变化:谢谢你的回答,但我检查了,没有变化: