Hello!
I`m using 4.0 RC3.11 on Joomla 2.5.
My form contains 2 upload files fields.
I`ve managed to upload with the file ulpoader [gh], but, how can i attach them to the email message?
Thanks!
I`m using 4.0 RC3.11 on Joomla 2.5.
My form contains 2 upload files fields.
I`ve managed to upload with the file ulpoader [gh], but, how can i attach them to the email message?
Thanks!
Hoops, i`ve managed that.
I should have file uploader, and then i have to provide fields into email message.
But now, when i attach 2 files, there is just one on the upload folder. Why?
I should have file uploader, and then i have to provide fields into email message.
But now, when i attach 2 files, there is just one on the upload folder. Why?
Hi vbarlakoski ,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here. Note: if you are using the Easy Wizard you may need to switch to the Advanced Wizard to do this; if you want to continue to use the Easy Wizard please make a copy of your form first and add the Debugger action to the copy.
Bob
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here. Note: if you are using the Easy Wizard you may need to switch to the Advanced Wizard to do this; if you want to continue to use the Easy Wizard please make a copy of your form first and add the Debugger action to the copy.
Bob
Data Array:
Array
(
[input_text_0] => Владимир Барлакоски
[input_text_1] => vladimir.barlakoski@gmail.com
[input_text_2] =>
[input_file_3] => CVMOTIVACIONNO-PISMO.docx
[input_file_4] => CVMOTIVACIONNO-PISMO.docx
[recaptcha_challenge_field] => 03AHJ_VuvL59X5IoIRnkvRIbu4pRNzxZ7xZXnFZEFcFfYqLeLEakAx0C03GGTrv_Hiy8uXxN_Klnvd7gUOkYfIYHge5_iTcMuorS8zP0UMSwHLGL6U3qAu5aNb852PO1GepwAQjWhC9nwft7-6N4qC8VOxFt3lUTytNA
[recaptcha_response_field] => ojacks politicum
[input_submit_6] => Изпрати
[e23779694110aafeb0bc2bb24807e33d] => 1
[option] => com_chronoforms
[chronoform] => maryel
[event] => submit
[Itemid] =>
[input_file_3_size] => 16
[input_file_3_url] => http://workbg.eu/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
[input_file_3_path] => /home/workbg28/public_html/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
[input_file_4_size] => 16
[input_file_4_url] => http://workbg.eu/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
[input_file_4_path] => /home/workbg28/public_html/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
[_PLUGINS_] => Array
(
[upload_files] => Array
(
[input_file_3] => Array
(
[name] => CVMOTIVACIONNO-PISMO.docx
[path] => /home/workbg28/public_html/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
[size] => 16853
[link] => http://workbg.eu/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
)
[input_file_4] => Array
(
[name] => CVMOTIVACIONNO-PISMO.docx
[path] => /home/workbg28/public_html/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
[size] => 16145
[link] => http://workbg.eu/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
)
)
)
)
Debug Data
Upload files
File post array: Array ( [name] => вилиџејн.docx [type] => application/vnd.openxmlformats-officedocument.wordprocessingml.document [tmp_name] => /chroot/tmp/phpoaKgup [error] => 0 [size] => 16853 )
Upload routine started for file upload by: input_file_3
Success: CVMOTIVACIONNO-PISMO.docx has been uploaded OK.
File size is 16 kb
File path is:
/home/workbg28/public_html/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
File url is:
http://workbg.eu/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
File post array: Array ( [name] => мастер.docx [type] => application/vnd.openxmlformats-officedocument.wordprocessingml.document [tmp_name] => /chroot/tmp/phpG1Ccyf [error] => 0 [size] => 16145 )
Upload routine started for file upload by: input_file_4
Success: CVMOTIVACIONNO-PISMO.docx has been uploaded OK.
File size is 16 kb
File path is:
/home/workbg28/public_html/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
File url is:
http://workbg.eu/uploads/maryel/CVMOTIVACIONNO-PISMO.docx
5
An email has been SENT successfully from (admin)vladimir.barlakoski@gmail.com to vladimir@silveradv.com
Email template:
Имена Владимир Барлакоски
Е-mail vladimir.barlakoski@gmail.com
Телефон за връзка
CV-то е прикачено към този мейл!
Submitted by 84.238.209.46
Attachments:
array ( 0 => '/home/workbg28/public_html/uploads/maryel/CVMOTIVACIONNO-PISMO.docx', 1 => '/home/workbg28/public_html/uploads/maryel/CVMOTIVACIONNO-PISMO.docx', )
Here is the debugger!
I have set custom file name, but even if the settings are default, there is just one file uploaded.
Thanks!
Hi vbarlakoski,
Not strictly correct, they are both being uploaded but as they both have the same name 'CVMOTIVACIONNO-PISMO.docx' the second one over-writes the first.
Bob
Not strictly correct, they are both being uploaded but as they both have the same name 'CVMOTIVACIONNO-PISMO.docx' the second one over-writes the first.
Bob
Hi Bob!
How should i configure the filenames?
How should i configure the filenames?
Hi vbarlakoski ,
If you upload two different files instead of the same one twice it should all work OK.
Bob
If you upload two different files instead of the same one twice it should all work OK.
Bob
Everything is fine!
I dont know why i have problems..🙂
But, that lead me in to one thought. Can i use a fix, to change filename, if there is one with the same name already?
I dont know why i have problems..🙂
But, that lead me in to one thought. Can i use a fix, to change filename, if there is one with the same name already?
Hi vbarlakoski,
Not easily with the standard File Uploader action :-( But I do have a custom File Uploader [GH] action that lets you add a random string or a user id to the file name to avoid duplication problems.
Bob
Not easily with the standard File Uploader action :-( But I do have a custom File Uploader [GH] action that lets you add a random string or a user id to the file name to avoid duplication problems.
Bob
This topic is locked and no more replies can be posted.