How to add Event Time to CSV Export?

  • lotus
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 8 months ago #18574 by lotus
We run multiple events on the same date at different times. Some of the events have the same name.

How do I include the Event Time in the export?

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

More
12 years 8 months ago #18612 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to add Event Time to CSV Export?
Hi

You will have to edit code to include event time in the export. Please follow the instructions below :

1. Open the file administrator/components/com_eventbooking/controller.php

2. Find the csv_export function .

3. Find the code below :

$results_arr[] = JHTML::_('date', $r->event_date, $config->date_format, $param) ;

4. Change it to :

$results_arr[] = JHTML::_('date', $r->event_date, $config->event_date_format, $param) ;

After that, the event time will be displayed (together with event date) in event date column and It should solve your problem .

Tuan

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

Moderators: Tuan Pham Ngoc