- Posts: 26
- Thank you received: 2
Backend New Subscription Email
- Nina Mårtensson
- Topic Author
- Offline
- Junior Member
Less
More
3 years 11 months ago #133288
by Nina Mårtensson
Backend New Subscription Email was created by Nina Mårtensson
When adding new subscription backend it seems that the New subscription email is sent regardsless of if it's active or not. Is there any way to setting the emails to send only when the subscription is set to active and saved? I am prepared to change code and risk overriding. I've looked through the code but I can't find the place where the email is triggered.
I'd like to set the new subscription email to function as following:
If new subscription is created and saved as published value 2 (not active) do not send any new subscription email.
If new subscription is created/or modified and saved as published value 1 (active) send new subscription email.
Any ideas of where to look in the code would be appreciated.
I'd like to set the new subscription email to function as following:
If new subscription is created and saved as published value 2 (not active) do not send any new subscription email.
If new subscription is created/or modified and saved as published value 1 (active) send new subscription email.
Any ideas of where to look in the code would be appreciated.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
3 years 11 months ago #133304
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Backend New Subscription Email
Hello Nina
The file you need to look at is administrator/components/com_osmembership/model/subscription.php , line 354 to 357
Tuan
The file you need to look at is administrator/components/com_osmembership/model/subscription.php , line 354 to 357
Tuan
Please Log in or Create an account to join the conversation.
- Nina Mårtensson
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 2
3 years 11 months ago #133306
by Nina Mårtensson
Replied by Nina Mårtensson on topic Backend New Subscription Email
Thanks, I'll have a look at it.
Regards, Nina
Regards, Nina
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
3 years 11 months ago #133310
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Backend New Subscription Email
You're welcome
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.