####################################
# #
# ext: th_mailformplus #
# #
# by: Dev-Team #
# email: dev@typoheads.at #
# www: www.typoheads.at #
# #
# donations welcome :) #
# #
####################################
####################################
# #
# EXAMPLE TypoScript settings #
# #
####################################
# TypoScript settings for saving submitted data into a DB table of your choice
####################################
plugin.tx_thmailformplus_pi1.saveDB = 1
plugin.tx_thmailformplus_pi1.saveDB {
dbTable = tt_content
# change .96. to an existing page-ID in your TYPO3 project
dbinsert=pid:96,hidden:0,CType:textpic
# if dbkey is not set: "uid" is taken
dbkey =uid
# [inputFieldName]:[DBName]
mapping=name:header,subject:bodytext,photo:image,photo2:image
# translate form field checkbox arrays to TYPO3 Backend checkbox arrays
powMapping.[db-fieldname].[form-inputname] = [int]
# crop string (e.g. form a textarea) to int number of chars
cropTextArea.[db-fieldname] = [int]
# enable special mappings
specialMapping = 1
specialMapping {
# store submission datetime in format YYYY-MM-DD HH:SS
sub_datetime = [fieldname]
# set timestamp (submission time) to field crdate
crdate = 1
# store submission IP to field
logIP = [fieldname]
# store uid to a second field (reference).
# Enables storage in CSV as well and
# activates marker ###DB_UID### in E-Mails
storeuid = [fieldname]
}
}
###################################
#
# example TypoScript settings for example below:
#
###################################
######################################
# here we overwrite the default configuration for
# file uploads defined in saveDB. for one
# specific field
######################################
plugin.tx_thmailformplus_pi1.fieldConf {
email {
errorCheck = email
defaultValue.value = peter
}
cv {
numberOfAllowedFiles = 3
fileTypes = pdf,doc
fileSize = 500000
fileUpload = uploads/pics/
errorText =
}
###########################
# template only for mail (default for receiver and user)
###########################
uploadedFiles.mail {
plainTemplate = ###filePath######fileName###
HTMLTemplate = ###fileName###
plainWrap = File start:|file end
HTMLWrap = File start:| file end
}
###########################
# template only for mail (receiver)
# use marker ###[name of inputfield]Receiver### in template
###########################
uploadedFiles.mailReceiver {
plainTemplate = ###filePath######fileName###\n
HTMLTemplate = ###fileName###
plainWrap = ReceiverFile start:|file end
HTMLWrap = ReceiverFile start:| file end
}
###########################
# template only for mail (user)
# use marker ###[name of inputfield]User### in template
###########################
uploadedFiles.mailUser {
plainTemplate = ###filePath######fileName###\n
HTMLTemplate = ###fileName###
plainWrap = UserFile start:| file end
HTMLWrap = UserFile start:|file end
}
}
}
###ERROR###
You just filled out the following fields:
Name: ###name###
Subject: ###subject###
you uploaded the following files:
###photo###
###cv###
Thank you!
Your message has been forwarded to us. We will contact you as soon as possible.
Hallo ###name###,
folgende Nachricht haben Sie gerade an Via-Denta GmbH & Co. KG - Mark Bultmann gesandt.
Ihr Anliegen bearbeiten wir schnellstmöglichst.
###name###
###email###
###phone###
###betreff###
###text###
Hello ###firstname### ###surname###,
you send this message to us:
Société:
###company###
Nom:
###surname###
Prénom:
###firstname###
Adresse:
###street###
Code Postal / Ville:
###city###
E-Mail:
###email###
Téléphone:
###phone###
Intérêt:
###interest###
Mon univers:
###environment###
Message:
###text###
Hello admin (plain),
A user just filled out the form:
name: ###name###
subject: ###subject###
uploaded files:
###photo###
###cv###
please contact the user: ###email###
This Message is from the website www.ceradelindustries.com