我有自己的TYPO3插件,可以显示记录。现在我想为每条记录添加第二页的链接。
第二页应该是powermail表单。现在我希望第二个Mail的链接包含一个参数,该参数应该预先填写powermail表单中的输入字段。
那可能吗?如果是这样怎么样?
对的,这是可能的。请参阅powermail的文档:https://docs.typo3.org/typo3cms/extensions/powermail/ForAdministrators/BestPractice/PrefillField/Index.html
标准方式
预填充(输入,文本区域,隐藏)或预选(选择,检查,无线电)字段将由PrefillFieldViewHelper完成。它监听以下方法和参数(在此排序中):
plugin.tx_powermail.settings.setup.prefill {
# Fill field with marker {email}
email = TEXT
email.value = [email protected]
}
plugin.tx_powermail.settings.setup.prefill {
# Fill field with marker {email}
email = [email protected]
}