Change request: LocationNextEvents
-
Hi,
the no-events field on a single location-page doesn’t work properly.
if you use the #_LOCATIONNEXTEVENTS on a single location page and there are no events planned, the message for no-events AND the header for the events-list will show upIn the em-location.php the following should be replaced:
Line 903:
$replace = get_option('dbem_location_event_list_item_header_format').get_option('dbem_location_no_events_message').get_option('dbem_location_event_list_item_footer_format');
with:
$replace = get_option('dbem_location_no_events_message').get_option('dbem_location_event_list_item_footer_format');
That way, the header for the events-list won’t be showed up if there are no events planned.
In version 5.5.2
greetings
- The topic ‘Change request: LocationNextEvents’ is closed to new replies.