Dear Tuan,
I want in my confirmation event date and event end date included. I added into view/confimation/tmpl/default.php these lines (copied from table view), but it doesnt show the date of event, but todays date. Can you help me with this please.
Thank you, Lukas.
Code:
<tr> <td class="title_cell">
<?php echo JText::_('EB_EVENT_DATE'); ?>
</td>
<td>
<?php
if ($item->event_date == EB_TBC_DATE) {
echo JText::_('EB_TBC');
} else {
echo JHTML::_('date', $item->event_date, $this->config->event_date_format, $param);
}
?>
</td></tr><tr>
<td class="title_cell">
<?php echo JText::_('EB_EVENT_END_DATE'); ?>
</td>
<td>
<?php
if ($item->event_end_date == EB_TBC_DATE) {
echo JText::_('EB_TBC');
} else {
echo JHTML::_('date', $item->event_end_date, $this->config->event_date_format, $param);
}
?>
</td>
</tr>