#################################### # # # 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 =