如何在 Typo3 10.4 中使用错别字将 felogin 呈现为模板中特定位置的内容元素
How to render felogin with typoscript in Typo3 10.4 as content element at a certain spot in the template
我在 typo3 v8.4 中使用了 方法。这是我的 TypoScript:
lib.loginBox = plugin.tx_felogin_pi1
lib.loginBox.storagePid = 28
在模板中我使用了这个:
<f:cObject typoscriptObjectPath="lib.loginBox" />
但现在在 v10.4 中它会抛出 this 错误并显示“在 TypoScript 对象路径“lib.loginBox”处找不到内容对象定义。”
当我将 < 更改为 = 时,它不会加载内容元素。
知道这里可能有什么问题吗?
插件移至extbase,所以现在
lib.loginBox = USER
lib.loginBox {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = Felogin
pluginName = Login
settings < plugin.tx_felogin_login.settings
settings {
pages = 8
}
}
我在 typo3 v8.4 中使用了
lib.loginBox = plugin.tx_felogin_pi1
lib.loginBox.storagePid = 28
在模板中我使用了这个:
<f:cObject typoscriptObjectPath="lib.loginBox" />
但现在在 v10.4 中它会抛出 this 错误并显示“在 TypoScript 对象路径“lib.loginBox”处找不到内容对象定义。” 当我将 < 更改为 = 时,它不会加载内容元素。
知道这里可能有什么问题吗?
插件移至extbase,所以现在
lib.loginBox = USER
lib.loginBox {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = Felogin
pluginName = Login
settings < plugin.tx_felogin_login.settings
settings {
pages = 8
}
}