1. xpozay
  2. RO CSVI
  3. Friday, 13 May 2016
  4.  Subscribe via email
I read with interest this post, almost 4 years ago, to auto generate the subject of emails. I could not find anywhere the such a feature has been added yet.
- https://www.csvimproved.com/forum?view=topic&catid=2&id=30293

1. I am looking to simply put the file name in the email subject. My file name is based on the parameters filename-[Y]-[m]-[d].csv

a) Is this feature avail yet?
b) If not, is the hack the same as explained in that post?

2. I am also looking to do similar in the body of the email. Specially I wish to include the number of orders and the total number of products. However, this is a nice to have. The first, email subject, is the key requirement.

Thanks

Chris
Accepted Answer Pending Moderation
Hello Chris,
1. I am looking to simply put the file name in the email subject. My file name is based on the parameters filename-[Y]-[m]-[d].csv

a) Is this feature avail yet?
b) If not, is the hack the same as explained in that post?

This feature is not available yet. You need to use your custom code in the file administrator/components/com_csvi/models/exports.php file and look for

$mailer->setSubject($this->template->get('export_email_subject'));


2. I am also looking to do similar in the body of the email. Specially I wish to include the number of orders and the total number of products. However, this is a nice to have. The first, email subject, is the key requirement.

You can find the code for body of the email in the same file.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Thanks so much for your quick reply.

I am assuming this is a hack and we cannot use an override ?

Thanks again
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,
I am assuming this is a hack and we cannot use an override ?

Yes this is going to be a hack and it is not possible with overrides. Do remember that you have to save your custom coding for any CSVI updates in the future.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
OK thanks for your assistance.

Chris
  1. more than a month ago
  2. RO CSVI
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!