Ok, that worked out well. Thx!
Kind regards Michal Uzytkownik "Reinhard Führicht" > Hi Michal, > > unfortunately the mapping of filenames does not work with the new notation > (since 4.0 I guess). For filenames you should use the old notation: > > saveDB.mapping = picture:picture > > I think this should work. > > regards, > Reinhard > > Michal Szostak schrieb: >> Hi List, >> >> I've got a little problem with mailformplus used for storing form results >> in DB. >> >> Everything works fine except storing file names in DB. >> Files are being correctly uploaded on a server (with a naming scheme: >> [md5]_[pageUID]_[recordUID]_[original file name]), but their names are >> not inserted to the record in DB. Other fileds are mapped correctly. >> >> My TS config: >> >> plugin.tx_thmailformplus_pi1 { >> fieldConf { >> >> picture { >> errorCheck = required >> errorText = TEXT >> errorText.value = <li>###LLL:picture###</li> >> numberOfAllowedFiles = 1 >> } >> } >> >> saveDB = 1 >> saveDB { >> dbTable = tx_mypictures >> fileUpload = fileadmin/user_upload/pictures/ >> fileTypes = jpg,jpeg,gif,png,bmp >> fileSize = 2000000 >> dbinsert = pid:27 >> dbkey = uid >> >> #mapping >> fields { >> name.mapping = name >> email.mapping = email >> picture.mapping = picture >> title.mapping = title >> } >> specialMapping = 1 >> specialMapping.crdate = 1 >> } >> } >> >> My HTML Template for file upload: >> >> <label for="picture">###LLL:picture###:<br/><input type="file" >> name="picture" id="picture" class="file"/><br/></label> >> >> >> >> Kind regards and thanks in advance! >> Michal
_______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english