[TYPO3-english] tx_form - attachment configuration
Edward Lenssen
typo3-english-14 at beech.it
Tue Sep 9 09:54:45 CEST 2014
40 = FILEUPLOAD
40 {
name = image1
label {
value = Upload image
}
}
Rules
1 = fileallowedtypes
1 {
breakOnError = 0
showMessage =
message = (%allowedTypes)
error = Image type is not allowed (only: .jpg, .jpeg, .gif, .png, .tif)
types = image/jpeg, image/jpg, image/gif, image/png, image/tif
element = image1
}
2 = filemaximumsize
2 {
breakOnError = 0
showMessage =
message = The file has to be smaller as %maximum
error = The file is too big (max 10MB)
maximum = 10000000
element = image1
}
--
View this message in context: http://typo3.3.n7.nabble.com/tx-form-attachment-configuration-tp233494p265867.html
Sent from the TYPO3 English mailing list archive at Nabble.com.
More information about the TYPO3-english
mailing list