- Posts: 249
- Thank you received: 3
Reminder settings for Simple Layout
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
4 years 2 months ago #141514
by hide10
Reminder settings for Simple Layout was created by hide10
Hello,
I’m using Simple Layout for frontend event creators.
Simple Layout does not have input fields for reminder settings.
But we need to send reminder emails.
How do I configure the default reminder settings?
Thanks.
I’m using Simple Layout for frontend event creators.
Simple Layout does not have input fields for reminder settings.
But we need to send reminder emails.
How do I configure the default reminder settings?
Thanks.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
4 years 2 months ago #141520
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Reminder settings for Simple Layout
Simple layout does not include every possible fields, that's the reason it is called simple layout. If you want to have reminder settings there, you need to edit code in the file components/com_eventbooking/themes/default/event/simple.php and include the following code to the position you want
Please remmember to move this modified file to PATH_TO_TEMPLATE/html/com_eventbooking/event folder so that the change won't be lost when you update to future releases of the extension
Regards,
Tuan
Code:
if (JPluginHelper::isEnabled('system', 'ebreminder'))
{
?>
<div class="<?php echo $controlGroupClass;?>">
<div class="<?php echo $controlLabelClass; ?>">
<?php echo JText::_('EB_SEND_FIRST_REMINDER'); ?>
</div>
<div class="<?php echo $controlsClass; ?>">
<input type="text" class="input-mini" name="send_first_reminder" value="<?php echo $this->item->send_first_reminder; ?>" size="5" /><span><?php echo ' ' . JText::_('EB_DAYS') . ' ' . $this->lists['send_first_reminder_time']; ?></span><?php echo JText::_('EB_EVENT_STARTED'); ?>
</div>
</div>
<div class="<?php echo $controlGroupClass;?>">
<div class="<?php echo $controlLabelClass; ?>">
<?php echo JText::_('EB_SEND_SECOND_REMINDER'); ?>
</div>
<div class="<?php echo $controlsClass; ?>">
<input type="text" class="input-mini" name="send_second_reminder" value="<?php echo $this->item->send_second_reminder; ?>" size="5" /><span><?php echo ' ' . JText::_('EB_DAYS') . ' ' . $this->lists['send_second_reminder_time']; ?></span><?php echo JText::_('EB_EVENT_STARTED'); ?>
</div>
</div>
<?php
}
Please remmember to move this modified file to PATH_TO_TEMPLATE/html/com_eventbooking/event folder so that the change won't be lost when you update to future releases of the extension
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 249
- Thank you received: 3
4 years 2 months ago #141553
by hide10
Replied by hide10 on topic Reminder settings for Simple Layout
Hello Tuan,
Thank you!
I included the code and hard coded the reminder value to be default value.
Best regards,
Thank you!
I included the code and hard coded the reminder value to be default value.
Best regards,
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
4 years 2 months ago #141554
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Reminder settings for Simple Layout
OK, great. Please continue using the extension. If you have questions or need help, please don't hesitate to ask us
Tuan
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.