Is it possible to add the event's end date (for events that go more than one day) to the emails that an individual and group receive during event registration. I found the following code in the com_eventbooking -> emailtemplates -> group_detail.php and individual_detail.php files:
Code:
<tr>
<td class="title_cell">
<?php echo JText::_('EB_EVENT_DATE') ?>
</td>
<td class="field_cell">
<?php
if ($this->rowEvent->event_date == EB_TBC_DATE) {
echo JText::_('EB_TBC');
} else {
echo JHTML::_('date', $this->rowEvent->event_date, $this->config->event_date_format, $param) ;
}
?>
</td>
</tr>
And was thinking of adding:
Code:
<tr>
<td class="title_cell">
<?php echo JText::_('EB_EVENT_DATE') ?>
</td>
<td class="field_cell">
<?php
if ($this->rowEvent->event_date == EB_TBC_DATE) {
echo JText::_('EB_TBC');
} else {
echo JHTML::_('date', $this->rowEvent->event_date, $this->config->event_date_format, $param) ;
}
?>
</td>
</tr>
<tr>
<td class="title_cell">
<?php echo JText::_('EB_EVENT_END_DATE') ?>
</td>
<td class="field_cell">
<?php
if ($this->rowEvent->event_end_date == EB_TBC_DATE) {
echo JText::_('EB_TBC');
} else {
echo JHTML::_('date', $this->rowEvent->event_end_date, $this->config->event_date_format, $param) ;
}
?>
</td>
</tr>
Not sure about the "EB_TBC_DATE" as to whether that would need to be changed as well, but any help would be appreciated!
Thanks!