I cant figure out how to add an attachment to the email.
below is the debug code... it just shows the attachment as an empty array... I have no idea!!!!... thanks
[_PLUGINS_] => Array
(
[upload_files] => Array
(
)
)
)
Validation Errors:
Array
(
)
Hi mrwild,
What is the rest of the Debugger output?
There are no files being uploaded here. Have you checked the FAQs on uploading and attaching files?
Bob
ok so i put some debugging code and file is uploading which is great however,,,,,,,, i cant get the link or the code that shows the image preview to work,,, I put the following code in to make the link :: <a href='{_PLUGINS_.upload_files.fileField.link}' >{_PLUGINS_.upload_files.fileField.name}</a> the field label is fileField, and it shows this in the email html of the email i receive {_PLUGINS_.upload_files.fileField.name} so its not showing the link to the download in the email thanks
in terms of the faq I am finding it very hard to see how to add the link in the email or put the file as an attachment I did figure out how where the file field labels which is where i was going wrong
Hi mrwild,
Do you have the Upload Files action *before* the Email action?
Bob
beautiful!!!!!! i love it!!! i moved the ordering and I get the attachment and the link i am though getting an error message Warning: array_values() expects parameter 1 to be array, null given in /home/ellief/public_html/administrator/components/com_chronoforms/form_actions/email/email.php on line 205
Warning: Invalid argument supplied for foreach() in /home/ellief/public_html/administrator/components/com_chronoforms/form_actions/email/email.php on line 206
Hi mrwild,
I'm not sure exactly what causes those but if you set Error Reporting to System Default or None in the site Global Configuration that should hide any PHP Warnings.
Bob