我的Typo3 BE-Modul总是将带有PID 1的数据写入数据库。在另一个安装上它使用PID11。所以我必须配置FE-Plugin来读取正确的PID。如何将两者配置为在每台计算机上始终使用相同? 我的Typoscript:
plugin.tx_rere {
view {
templateRootPath = {$plugin.tx_rere.view.templateRootPath}
partialRootPath = {$plugin.tx_rere.view.partialRootPath}
layoutRootPath = {$plugin.tx_rere.view.layoutRootPath}
}
persistence {
storagePid = {$plugin.tx_rere.persistence.storagePid}
}
features {
# uncomment the following line to enable the new Property Mapper.
# rewrittenPropertyMapper = 11
}
}
module.tx_rere {
persistence {
storagePid = {$modul.tx_rere.persistence.storagePid}
}
view {
templateRootPath = {$module.tx_rere.view.templateRootPath}
partialRootPath = {$module.tx_rere.view.partialRootPath}
layoutRootPath = {$module.tx_rere.view.layoutRootPath}
}
}
谢谢!
答案 0 :(得分:0)
在模板模块中打开常量编辑器 - 你的ext应至少有2个位置:
PLUGIN.TX_RERE
和
MODULE.TX_RERE
为两者设置有效Default storage PID