I'm using ChronoForms v4.0 RC3.5.1 on a Joomla 1.5 install. In my form, I have configured 5 file upload links. Each on is named "fld_image" followed by a number. On the events page, I have an Email action enabled, with the attachments fields name including "fld_image1,fld_image2", etc. I also have an Upload Files action enabled, with the fields configuration set to "fld_image1:jpg-png-gif,fld_image2:jpg-png-gif", etc.
When I do fill out and submit my form with attachments, they do upload successfully. What I would like to do is have the email template include a link to the uploaded file. I tried to follow this tutorial: http://www.chronoengine.com/faqs/2681-how-can-i-link-to-an-uploaded-file.html, but I did not see this code when I submitted my form with the debugger on. Any help is appreciated, thank you!
When I do fill out and submit my form with attachments, they do upload successfully. What I would like to do is have the email template include a link to the uploaded file. I tried to follow this tutorial: http://www.chronoengine.com/faqs/2681-how-can-i-link-to-an-uploaded-file.html, but I did not see this code when I submitted my form with the debugger on. Any help is appreciated, thank you!
Hi goose,
As far as I know the tutorial is good. What exactly have you added to the email template (you must have the Rich Text Editor off to add a link like this)? What do you see in the Debugger output?
Bob
As far as I know the tutorial is good. What exactly have you added to the email template (you must have the Rich Text Editor off to add a link like this)? What do you see in the Debugger output?
Bob
Hello Bob, thank you for the reply. When I was configuring this earlier, I could've sworn that I saw code as depicted in the tutorial in my debugger data array. For whatever reason now though, When I submit the form I do not. Here is the output of my debug:
The debug data shows:
I do not have anything in the email template though, just because I can't get the plugin code from the tutorial to display. Thank you for your assistance.
Data Array:
Array
(
[option] => com_chronoforms
[chronoform] => featured_listing
[event] => submit
[Itemid] =>
[fld_name] => Test Listing
[fld_address] => 123 street
[fld_telephone] =>
[fld_email] => testing@test.com
[fld_image1] =>
[fld_image2] =>
[fld_image3] =>
[fld_image4] =>
[fld_image5] =>
[chrono_verification] => yKi2c
[input_submit_21] => Submit
[ab000e3bcbcfdab87156e5229d1f3efc] => 1
)
Validation Errors:
Array
(
)
The debug data shows:
1. email
1. 6
1. Result - An email has been sent
2. Body
3. Attachments array ()
2. Upload routine started for file upload by: fld_image1
3. componentdirectory/imagename has been uploaded successfully
I do not have anything in the email template though, just because I can't get the plugin code from the tutorial to display. Thank you for your assistance.
I did find a workaround of sorts. In my form Events, I had the "Email" action preceeding "Upload Files". Once I swapped the two, my forms started to send the attachments correctly. I think I actually prefer this over having a link in the email.
Thank you for your help Bob!
Thank you for your help Bob!
This topic is locked and no more replies can be posted.