【问题标题】:TYPO3 - include a powermail form via typoscriptTYPO3 - 通过打字稿包含一个 powermail 表单
【发布时间】:2017-11-03 08:16:27
【问题描述】:

在 sys 文件夹 [31] 中,我创建了一个 uid=3 的 powermail 表单...但是如何将它包含在带有打字稿的部分中?

lib.powermailmyform = CONTENT
lib.powermailmyform {
    select.pidInList = 3
}

...在 Fluid-Template Show.html 中:

<f:cObject typoscriptObjectPath="lib.powermailmyform" />

并设置常量:

plugin.tx_powermail.settings.misc.addQueryString=1

【问题讨论】:

    标签: typo3 typoscript typo3-8.x powermail typo3-8.7.x


    【解决方案1】:

    如果您想通过 TypoScript 以非常特殊的方式添加 powermail 表单(例如,在每个页面上实现),您应该在页面中添加一个 powermail 插件(在 FlexForm 中包含所有需要的设置)(sysfolder 可以)并通过 cObject CONTENT 渲染此内容元素。

    【讨论】:

    • 创建的特定表单功能齐全,现在我通过 tx_news 记录详细信息页面上的 BE 实现它。但是这样我每次创建新的新闻记录时都需要添加它。所以我想把 放在新闻的部分。您能否举一个“通过 cObject CONTENT 渲染此内容元素”的示例?我在上面调整了我的...
    • 多年来,在标记或变量上呈现特定页面的内容非常简单,例如: lib.content = CONTENT lib.content { table = tt_content select { pidInList = 123 orderBy = sorting where = colPos= 0 } }
    猜你喜欢
    • 2013-04-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-07-12
    • 2022-11-25
    • 1970-01-01
    • 2014-02-14
    • 1970-01-01
    相关资源
    最近更新 更多