- Posts: 22
- Thank you received: 0
how to not display the event end date
- gilles
- Topic Author
- Offline
- Junior Member
-
Less
More
13 years 11 months ago #9132
by gilles
how to not display the event end date was created by gilles
In the event display, how can i prevent the endate and cut-off date from displaying?
My even is just a one day event and "end-date" is somewhat irrelevant.
Thanks,
Gilles
My even is just a one day event and "end-date" is somewhat irrelevant.
Thanks,
Gilles
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 11 months ago #9148
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: how to not display the event end date
Hi Gilles
- To prevent event end date display, you can simply leave it empty when you enter the event .
- If you want to remove event cut off date, you will need to leave it empty of modify the code alitle. The code is located in the file components/com_eventbooking/views/tmpl/default.php, looks at the code below and remove it :
Regards,
Tuan
- To prevent event end date display, you can simply leave it empty when you enter the event .
- If you want to remove event cut off date, you will need to leave it empty of modify the code alitle. The code is located in the file components/com_eventbooking/views/tmpl/default.php, looks at the code below and remove it :
Code:
if ($this->nullDate != $item->cut_off_date) {
?>
<tr>
<td>
<strong><?php echo JText::_('EB_CUT_OFF_DATE'); ?></strong>
</td>
<td>
<?php echo JHTML::_('date', $item->cut_off_date, $this->config->date_format, 0) ; ?>
</td>
</tr>
<?php
}
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- gilles
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
13 years 11 months ago #9154
by gilles
Replied by gilles on topic Re: how to not display the event end date
thanks for the continued, great support Tuan,
I thought I had tried to leave the fields blank. I tried again and it worked. Fantastic!
Thanks!
Gilles
I thought I had tried to leave the fields blank. I tried again and it worked. Fantastic!
Thanks!
Gilles
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.