简体   繁体   English

TYPO3 / Powermail:如何在隐藏的表单字段中存储插件pid

[英]TYPO3/Powermail: Howto to store plugin pid in hidden form field

I want to store the page id of a Powermail plugin in the form data. 我想在表格数据中存储Powermail插件的页面ID。 I would like to setup a hidden field and prefill it with the page id of the plugin. 我想设置一个隐藏字段,并用插件的页面ID预先填充它。

plugin.tx_powermail.settings.setup.prefill.pid = TEXT
plugin.tx_powermail.settings.setup.prefill.pid.field = pid

The above code does not help: I only get the pid of the Powermail template, not that of the plugin. 上面的代码无济于事:我只得到Powermail模板的pid,而不是插件的pid。

Does anybody know a solution? 有人知道解决方案吗?

Or a bit shorter: 或更短:

 plugin.tx_powermail.settings.setup.prefill.pid = TEXT plugin.tx_powermail.settings.setup.prefill.pid.data = TSFE:id 

I found a solution: 我找到了解决方案:

plugin.tx_powermail.settings.setup.prefill.pid = TEXT
plugin.tx_powermail.settings.setup.prefill.pid.stdWrap.data = TSFE:id

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM