- Posts: 3
- Thank you received: 0
Event End Date in Confirmation Email
- Ira
- Topic Author
- Offline
- New Member
-
Less
More
12 years 8 months ago #31143
by Ira
Event End Date in Confirmation Email was created by Ira
Hi!
I am reworking the email template to look more like a ticket for our users and need to include the event end date so that attendees have both the start and end time in the email; however, when I call event_end_date in emailtemplates/individual_detail.php I simply get today's date. Is there anyway to include the event end date in the individual email?
I am reworking the email template to look more like a ticket for our users and need to include the event end date so that attendees have both the start and end time in the email; however, when I call event_end_date in emailtemplates/individual_detail.php I simply get today's date. Is there anyway to include the event end date in the individual email?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
12 years 8 months ago #31156
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Event End Date in Confirmation Email
Hi
In order to use the code in the email template , we will have to edit the code in the helper file alitle. Please get the file below, unzip it, then upload to components/com_eventbooking/helper folder.
After that, check it again and the code you wrote should work as expected.
Tuan
In order to use the code in the email template , we will have to edit the code in the helper file alitle. Please get the file below, unzip it, then upload to components/com_eventbooking/helper folder.
After that, check it again and the code you wrote should work as expected.
Tuan
Please Log in or Create an account to join the conversation.
- Ira
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
12 years 8 months ago - 12 years 8 months ago #31310
by Ira
Replied by Ira on topic Re: Event End Date in Confirmation Email
Thanks so much for your help! Unfortunately after uploading the helper file the current date and time are still being output. I using
echo JHTML::_('date', $item->event_end_date, $this->config->event_date_format, $param) ; in individual_detail.php under the emailtemplates folder to call the end date. Could I possibly be missing something?
echo JHTML::_('date', $item->event_end_date, $this->config->event_date_format, $param) ; in individual_detail.php under the emailtemplates folder to call the end date. Could I possibly be missing something?
Last edit: 12 years 8 months ago by Ira.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
12 years 8 months ago #31402
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Event End Date in Confirmation Email
Hi Ira
Please submit a support ticket sending me administrator and FTP account of your site so that I can check and edit the code for you.
Tuan
Please submit a support ticket sending me administrator and FTP account of your site so that I can check and edit the code for you.
Tuan
Please Log in or Create an account to join the conversation.
- Ira
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
12 years 7 months ago - 12 years 7 months ago #32394
by Ira
Replied by Ira on topic Re: Event End Date in Confirmation Email
Sorry for the delay. Thanks so much for your help! I have submitted the ticket. Thanks!
Last edit: 12 years 7 months ago by Ira.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
12 years 7 months ago #32844
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Event End Date in Confirmation Email
You must change the code from
To
Please note $this->item is incorrect. $this->rowEvent is correct.
Tuan
Code:
echo JHTML::_('date', $item->event_end_date, $this->config->event_date_format, $param)
To
Code:
echo JHTML::_('date', $this->rowEvent->event_end_date, $this->config->event_date_format, $param)
Please note $this->item is incorrect. $this->rowEvent is correct.
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 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.