Remove Time From Module

  • Meilech DuBrow
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 9 months ago #17510 by Meilech DuBrow
Remove Time From Module was created by Meilech DuBrow
For Webinars which occur across multiple times zones, I don't want to display the event time in the module view.

How do I remove it (or at least add the main time zone)?

Thanks/

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #17513 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Remove Time From Module
Hi

You can simply go to Events Booking -> Configuration, find the config option Event Date Format, remove the time parameter from that config option. After that, only the date will be displayed .

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #17705 by strullinger
Replied by strullinger on topic Re: Remove Time From Module
If you need the Time to display on the details page then you have to edit the module. ( remember what you change because it will go away when you update the module)

On Line 67
<span class="event_date"><?php echo JHTML::_('date', $row->event_date, $config->event_date_format, $format); ?></span>

Change to :
<span class="event_date"><?php echo JHTML::_('date', $row->event_date, $config->date_format, $format); ?></span>

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #17730 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Remove Time From Module
Confirmed that this is the correct solution !

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc