Hi Tuan, I want to thank you for the help via
Skype,
Best support ever!!!!!!!!
To the topic.
I was changing a few thing on:
com_eventbooking / view / event /tmpl / default.php
and before you go with a face palm thinking "No more color_code", NO is not related to it... lol... I got that cover thanks to you, now I can do it on any "view"...
I was looking at the code of that file, and I notice that the second row is not closed, and before the table you have a div tag:
here is the piece of code
Code:
<div id="detail_left">
<table cellspacing="0">
<tbody>
<tr>
<td style="width: 60%;">
<strong><?php echo JText::_('EB_EVENT_DATE') ?>:</strong>
</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>
<?php
if ($item->event_end_date != $this->nullDate) {
?>
<tr>
<td>
<strong><?php echo JText::_('EB_EVENT_END_DATE'); ?>:</strong>
</td>
<td>
<?php echo JHTML::_('date', $item->event_end_date, $this->config->event_date_format, $param) ; ?>
</td>
</div> <!-- Closing DIV -->
</tr> <!-- does not exist -->
<?php
}
if ($this->config->show_capacity) {
?>
... the code coninue ...
I put some marks so you can see what I'm talking about...
<!-- Closing DIV -->
<!-- does not exist -->
is there a reason why you have it like that?
I'm asking because I want to change tables to div tags...
Thank you