未申报的参数传递给ViewHelper undkonsorten \ powermailpdf \ viewHelpers \ misc \ variablesviewhelper:邮件
在Typo3 9.5中,使用PowerMail
带有powermailpdf
在提交表单时我会遇到以下错误...
Undeclared arguments passed to ViewHelper Undkonsorten\Powermailpdf\ViewHelpers\Misc\VariablesViewHelper: mail.
看来它在抱怨 mail 我不知道该怎么办。我已经在主TS模板中包括了powermail
的静态模板,然后在powermailpdf
中,有关powermailpdf
的映射部分。我还在powerMail
内容元素的接收器的RTE区域中添加了{downloadlink}
,并在此处输入了接收者的电子邮件和发送者的电子邮件。
我在文档中找到 mail 的唯一位置是 此页面 ,但似乎我不需要这样做,因为我使用powermail
?
ps:我还将这个问题发布为 powermailpdf
的问题。
相关软件包
- typo3/cms-core 9.5。 31
- templavoilaplus/templavoilaplus/templavoilaplus 7.3.6 7.3.6
- packages/in2Code/powermail“ rel =” nofollow noreferrer“> in2Code/powermail 6.2.0
- ” /powermailpdf 2.4.5
- fpdm 2.9.9.2
tmw /
plugin.tx_powermailpdf {
settings {
enablePowermailPdf = 1
showDownloadLink = 1
email.attachFile = 1
filelink {
jumpurl = 1
jumpurl.secure = 1
jumpurl.secure.mimeTypes = pdf=application/pdf
icon = 1
icon_link = 1
}
sourceFile = EXT:rapidfyre_estreetdrivingschool/Resources/Public/Forms/Student_Training_Record.pdf
fieldMap{
# Note the format is... pdfField = PowermailField
name = studentsname
address = address
city = city
state = state
zip = zip
gender = gender
home_number = homephone
alternate_number = alternatephone
student_cell = studentsphone
student_email = studentsemail
parent_name = parentsname
parent_email = parentsemail
high_school = highschool
birth_date = dateofbirth
permit_number = permitorid
class = class
# Hidden fields
orientation = orientation
}
}
}
错误跟踪的第一部分的图像
In TYPO3 9.5 using powermail
with powermailpdf
I'm getting the following error when submitting a form...
Undeclared arguments passed to ViewHelper Undkonsorten\Powermailpdf\ViewHelpers\Misc\VariablesViewHelper: mail.
It appears that it's complaining about mail but I don't know what to do about it. I've included the static templates for powermail
followed by powermailpdf
in the main TS template and see below for the mapping part of powermailpdf
. I also added {downloadLink}
in the RTE area for the receiver in the powermail
content element and have email addresses entered there as well for the Receiver's Email and Sender's Email.
The only place I found the word mail in the docs was on this page, but it appears I don't need to do that since I'm using a powermail
version greater than 3 right?
PS: I also posted this question as an issue for powermailpdf
.
Relevant packages
- typo3/cms-core 9.5.31
- templavoilaplus/templavoilaplus 7.3.6
- in2code/powermail 6.2.0
- undkonsorten/powermailpdf 2.4.5
- tmw/fpdm 2.9.2
TypoScript I'm using
plugin.tx_powermailpdf {
settings {
enablePowermailPdf = 1
showDownloadLink = 1
email.attachFile = 1
filelink {
jumpurl = 1
jumpurl.secure = 1
jumpurl.secure.mimeTypes = pdf=application/pdf
icon = 1
icon_link = 1
}
sourceFile = EXT:rapidfyre_estreetdrivingschool/Resources/Public/Forms/Student_Training_Record.pdf
fieldMap{
# Note the format is... pdfField = PowermailField
name = studentsname
address = address
city = city
state = state
zip = zip
gender = gender
home_number = homephone
alternate_number = alternatephone
student_cell = studentsphone
student_email = studentsemail
parent_name = parentsname
parent_email = parentsemail
high_school = highschool
birth_date = dateofbirth
permit_number = permitorid
class = class
# Hidden fields
orientation = orientation
}
}
}
Image of the first part of the error trace
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Ext:PowerMailPDF正在覆盖此ViewHelper( code )。
但是这些课程似乎不匹配(在这些版本中):
因此,此VH的呼叫(可能也来自普通PowerMail模板)将击中ViewHelper的不兼容版本。
EXT:powermailpdf is overriding this ViewHelper (Code).
But the classes seems not match (in these versions):
So, a call of this VH (possibly also from the normal Powermail templates) will hit a non-compatible version of the ViewHelper.