- Posts: 58
- Thank you received: 2
Editing Registration Approved Email
- Christoph
- Topic Author
- Offline
- Senior Member
-
Less
More
7 years 1 month ago #114383
by Christoph
Editing Registration Approved Email was created by Christoph
Hello,
I need to edit the code of the Registration Approved Email but can't find it. I searched in /emailtemplates and other folders. Please let me know what is the name of the file which renders the code for the email message send out automatically once registrants get status "payed".
Thank you,
Chris
I need to edit the code of the Registration Approved Email but can't find it. I searched in /emailtemplates and other folders. Please let me know what is the name of the file which renders the code for the email message send out automatically once registrants get status "payed".
Thank you,
Chris
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 1 month ago #114384
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Editing Registration Approved Email
The main question is what you want to edit? Is the code or the email message?
Tell me what you want to change so that I can understand and guide you
Tuan
Tell me what you want to change so that I can understand and guide you
Tuan
Please Log in or Create an account to join the conversation.
- Christoph
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 58
- Thank you received: 2
7 years 1 month ago - 7 years 1 month ago #114386
by Christoph
Replied by Christoph on topic Editing Registration Approved Email
I need to edit the code of the table on top of REGISTRATION DETAIL where is title, Event Date, Price, Quantity and Sub total columns.
Thank you,
Chris
Thank you,
Chris
Last edit: 7 years 1 month ago by Christoph.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 1 month ago #114387
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Editing Registration Approved Email
The file you need to edit is components/com_eventbooking/view/emailtemplates/tmpl/email_cart.php. Once the change is done, you can more the modified file to PATH_TO_TEMPLATE/html/com_eventbooking/emailtemplates folder so that the change won't be lost when you update to future releases of the extension
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Christoph
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 58
- Thank you received: 2
7 years 1 month ago #114389
by Christoph
Replied by Christoph on topic Editing Registration Approved Email
I did edit email_cart.php and it works but only for the registration confirmed message, No. 2 (User email body) in Registration Email Messages Tab of Admin Emails & Messages Screen. In the booking process, registrant turns to "pending" status.
But for No. 5, Registration Approved Email, which will be send once Status "Payed" is reached, it seems to be there must be another source file which I can't identify.
My tests sending out No. 5 message does show still the "default" table code, like it was before I did edit email_cart.php.
Thank you,
Chris
But for No. 5, Registration Approved Email, which will be send once Status "Payed" is reached, it seems to be there must be another source file which I can't identify.
My tests sending out No. 5 message does show still the "default" table code, like it was before I did edit email_cart.php.
Thank you,
Chris
Please Log in or Create an account to join the conversation.
- Christoph
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 58
- Thank you received: 2
7 years 1 month ago #114390
by Christoph
Replied by Christoph on topic Editing Registration Approved Email
Found the solution, the Registration Approved Email is only updated if you do NOT make an Overwrite to PATH_TO_TEMPLATE/html/com_eventbooking/emailtemplates
I did beforehand the overwrite because I'm used to already and strangely it only works for the confirmation email but not for the approve email. Please test it yourself.
Thank you,
Chris
I did beforehand the overwrite because I'm used to already and strangely it only works for the confirmation email but not for the approve email. Please test it yourself.
Thank you,
Chris
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 1 month ago #114398
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Editing Registration Approved Email
In this case, you approve the registration from administrator area of your site. So PATH_TO_TEMPLATE should be administrator/templates/isis folder (not the path to frontend template of your site)
The following user(s) said Thank You: Christoph
Please Log in or Create an account to join the conversation.
- Christoph
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 58
- Thank you received: 2
7 years 1 month ago #114402
by Christoph
Replied by Christoph on topic Editing Registration Approved Email
That fixed it, great!
But now, I have some weird behavior, the URL in the event title of the event points to
www.myurl.org/ administrator/index.php?option=com_eventbooking&view=event&id=363&catid=6
How does the /administrator/ path come into the URL? I didn't change anything to
in email_cart.php
But now, I have some weird behavior, the URL in the event title of the event points to
www.myurl.org/ administrator/index.php?option=com_eventbooking&view=event&id=363&catid=6
How does the /administrator/ path come into the URL? I didn't change anything to
Code:
$url = JUri::getInstance()->toString(array('scheme', 'user', 'pass', 'host')).JRoute::_(EventbookingHelperRoute::getEventRoute($item->event_id, 0, $Itemid));
in email_cart.php
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 1 month ago #114423
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Editing Registration Approved Email
Look like it's a bug in the extension (might cause by the recent Joomla release which support routing from backend)
I will check and correct it in the next release. Give me about 1 to 2 weeks to work on this new version
Regards,
Tuan
I will check and correct it in the next release. Give me about 1 to 2 weeks to work on this new version
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.