Hello
After the user upoads a file using front end upload, the Admin gets an email.
How can I add to this email:
- the description entered by the user
- a download link to the file
?
Thank you very much!
Regards
Patrick
Description and Download Link in email
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Description and Download Link in email
Hi, this needs to be customized directly in the code, the email function is here:
administrator\components\com_phocadownload\libraries\phocadownload\mail\mail.php
components\com_phocadownload\views\user\view.html.php
Jan
administrator\components\com_phocadownload\libraries\phocadownload\mail\mail.php
components\com_phocadownload\views\user\view.html.php
Code: Select all
PhocaDownloadMail::sendMail((int)$this->t['send_mail_upload'], $post['title'], 2);
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 32
- Joined: 22 May 2013, 16:06
Re: Description and Download Link in email
OK, thanks!
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Description and Download Link in email
Ok
If you find Phoca extensions useful, please support the project