Hallo,
habe die Formhandler Extension laufen. Die lief so lange, bis ich sie heute auf Version 0.9.5 updatete. Jetzt habe ich es hinbekommen, dass schon mal wieder das Formular angezeigt wird. Nur der Debug-Mode zeigt mir, dass die Extension beim Mail-Finisher stehen blebt, ohne eine Mail zu versenden.
Weis jemand, was da nach dem Update alles geändert werden muss?
Typo3 Version: 4.2.8
So schaut mein TypoScript aus:
plugin.Tx_Formhandler.settings.predef.anfrage {
# Common configuration
name = Mein Formular
debug = 1
addErrorAnchors = 1
storeGP = 1
additionalIncludePaths {
1 = fileadmin/kornhair/templates/formhandler/scripts
}
templateFile = fileadmin/kornhair/templates/formhandler/formhandler-template-02.html
langFile =fileadmin/kornhair/templates/formhandler/formhandler-lang.xml
stylesheetFile = fileadmin/kornhair/css/formhandler-styles.css
formValuesPrefix = formhandler
# HTML wrapping by validation error
errorListTemplate {
totalWrap = <ul>|</ul>
singleWrap = <li class="error">|</li>
}
singleErrorTemplate {
singleWrap = <span class="error">|</span><br />
}
# File configuration
singleFileMarkerTemplate {
totalWrap = <ul>|</ul>
singleWrap = <li style="color:maroon;">|</li>
#showThumbnails = 1
}
totalFilesMarkerTemplate {
totalWrap = <ul>|</ul>
singleWrap = <li style="color:red;">|</li>
}
files {
clearTempFilesOlderThanHours = 24
uploadFolder = uploads/formhandler/tmp2/
enableAjaxFileRemoval = 1
}
# Validators configuration
validators {
1 {
class = Tx_Formhandler_Validator_Default
config {
fieldConf {
picture {
errorCheck.1 = fileAllowedTypes
errorCheck.1.allowedTypes = jpg,gif
errorCheck.2 = fileMinSize
errorCheck.2.minSize = 2000
errorCheck.3 = fileMaxSize
errorCheck.3.maxSize= 100000
errorCheck.4 = fileMaxCount
errorCheck.4.maxCount = 2
}
firstname {
errorCheck.1 = required
errorCheck.2 = maxLength
errorCheck.2.value = 50
}
lastname {
errorCheck.1 = required
errorCheck.2 = maxLength
errorCheck.2.value = 50
}
strasse {
errorCheck.1 = required
errorCheck.2 = maxLength
errorCheck.2.value = 50
}
plz {
errorCheck.1 = required
errorCheck.2 = maxLength
errorCheck.2.value = 5
}
ort {
errorCheck.1 = required
errorCheck.2 = maxLength
errorCheck.2.value = 50
}
tel {
errorCheck.1 = required
errorCheck.2 = maxLength
errorCheck.2.value = 50
}
email {
errorCheck.1 = required
errorCheck.2 = email
}
contact_via {
errorCheck.1 = required
}
budget {
errorCheck.1 = integer
errorCheck.2 = maxLength
errorCheck.2.value = 6
}
captchafield {
errorCheck.1 = required
errorCheck.2 = captcha
}
}
}
}
}
# Interceptors configuration
initInterceptors {
1 {
#class = Tx_Formhandler_Interceptor_RemoveXSS
class = Tx_Formhandler_Interceptor_Filtreatment
}
}
# Loggers configuration
loggers {
1 {
class = Tx_Formhandler_Logger_DB
}
}
# Finishers configuration
finishers {
1 {
class = Tx_Formhandler_Finisher_DB
config {
table = tt_content
key = uid
fields {
header {
mapping = name
if_is_empty = None given
}
bodytext {
mapping = subject
seperator = ,
}
hidden = 1
pid = 39
subheader.special = sub_datetime
crdate.special = sub_tstamp
tstamp.special = sub_tstamp
imagecaption.special = ip
}
}
}
2.class = Tx_Formhandler_Finisher_Mail
2.config {
#limitMailsToUser = 5
admin {
to_email = ich@irgendwo.de
to_name = Admin
subject = Anfrage Formular
sender_email = email
sender_name = lastname
replyto_email = email
replyto_name = lastname
htmlEmailAsAttachment = 0
attachment = picture
attachPDF.class = Tx_Formhandler_Generator_PDF
attachPDF.exportFields = firstname,lastname,strasse,plz,ort,tel,email,hvschonmal,hvwelchemarke,befriedigt,problem,haarbehandlunghaarlaenge,haarlaengenow,marke,budget,ratenzahlung,nachricht,contact_via,pid,submission_date,ip
}
user {
to_email = email
to_name = lastname
subject = Ihre Anfrage
sender_email = info@irgendwo.de
sender_name = Team
replyto_email = info@irgendwo.de
replyto_name = TEXT
replyto_name.value = Team
htmlEmailAsAttachment = 0
attachment = picture
attachPDF.class = Tx_Formhandler_Generator_PDF
attachPDF.exportFields = firstname,lastname,strasse,plz,ort,tel,email,hvschonmal,hvwelchemarke,befriedigt,problem,haarbehandlunghaarlaenge,haarlaengenow,marke,budget,ratenzahlung,nachricht,contact_via,pid,submission_date,ip
}
}
3.class = Tx_Formhandler_Finisher_Confirmation
3.config {
returns = 1
pdf {
class = Tx_Formhandler_Generator_PDF
exportFields = anrede,firstname,lastname,strasse,plz,ort,tel,email,hvschonmal,hvwelchemarke,befriedigt,problem,haarbehandlunghaarlaenge,haarlaengenow,marke,budget,ratenzahlung,nachricht,contact_via,pid,submission_date,ip
export2File = 1
}
csv {
class = Tx_Formhandler_Generator_CSV
exportFields = firstname,lastname,strasse,plz,ort,tel,email,haarlaenge,submission_date
}
4.class = Tx_Formhandler_Finisher_Redirect
4.config {
redirectPage = 97
}
}
}
}