Support

Home Forums Event Espresso Premium Add "Event Date" to filter/view options in event manager

Add "Event Date" to filter/view options in event manager

Posted: December 10, 2013 at 6:14 pm


Valor Training Group

December 10, 2013 at 6:14 pm

Would it be possible to add the “Event Date” field to sort multiple duplicate named events by date? Currently the only date option given is “Reg Date”.

This would be when you click on “event overview” and have options for viewing above and to the right of the events lists.

Thanks.


Dean

December 11, 2013 at 1:06 am

Hi,

The Start Date column is the events start date, so you could filter by that column.


Valor Training Group

December 11, 2013 at 5:39 am

Dean,

Thanks. Here’s what I noticed… When looking at the events, the “Event Start Date” is an option, once you filter on a specific individual, that option goes away. It would be helpful to be able to see an ordered list of the dates a person attended, not registered. I took a screen shot to show you but don’t see how to post it.


Dean

December 11, 2013 at 5:54 am

Sorry I assume you mean when you click on the attendees for a specific event? In which case there is a Registered column.

Perhaps I’m misunderstanding what you are saying.

It’s best to use a thirdparty hosting service for images such as droplr or imgur


Valor Training Group

December 11, 2013 at 8:42 am

In the dashboard I’m click on event espresso>events overview. I change the filter to look at all events, current and future, then type a name to look at attendance for a specific user. Once I’m in the attendees screen, I lose the ability to look at event_start_date as shown on the right side of this picture. I’d like to be able to see event_start_date data.

Here’s the link
https://drive.google.com/file/d/0B6SECPuPEOjXdjVBelRmbnpKZDg/edit?usp=sharing


Sidney Harrell

December 11, 2013 at 4:05 pm

You can change line 153 of includes/admin-reports/event_list_attendees.php from:

<span><?php _e('Event Time', 'event_espresso'); ?></span> <span class="sorting-indicator"></span>

to:

<span><?php _e('Start Date', 'event_espresso'); ?></span> <span class="sorting-indicator"></span>

and line 253 from:

<?php echo event_date_display($event_time, get_option('time_format')) ?>

to:

<?php echo event_date_display($event_date, get_option('date_format')) ?>

You could, if you wanted to keep the event time column, add those lines in as new lines, with the appropriate table header / cell wrappers.


Valor Training Group

December 11, 2013 at 6:02 pm

BOOM! Thank you. I did try to add the code and wrappers but I’m not a real developer and I wound up messing up the display. So I just deleted my additions and changed what you said. It will work for me.

If you have an extra minute, could you past the exact way to add the proper code so I could have both?

If not, no worries. I appreciate that you helped me modify.

Thanks again,

Laran


Tony

  • Support Staff

December 12, 2013 at 5:24 am

If you added the table columns and then the display ended up looking odd showing the event ID one place over etc then it likely you didn’t edit the jQuery used to show/hide the fields. (Basically it needed another null, on line ~433)

Here’s a version that has the order Event Title, Event Date, Event Time.

https://gist.github.com/Pebblo/7927186

You can also select the values to show within the show/hide columns section which also has Event Date included now (shown here http://d.pr/i/cfRI).

The support post ‘Add "Event Date" to filter/view options in event manager’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso