- This topic has 5 replies, 2 voices, and was last updated 6 years, 8 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘Generic’ is closed to new topics and replies.
Events Made Easy › Forums › Generic › Navigation through the events
Also at the risk of straining your generous willingness to help, I have one more request.
I would like to have the possibility to navigate through the events. Could be inside the single event page or the template. Maybe with options to filter with scope, category, location.
Maybe this is a how to request and this is already possible?
I looked into [eme_events] and came up with the thought to grab the startdate from the current event to use it in some scope value, right?
I think [eme_filterform] is what you’re looking for here.
No, not really I think. I am thinking about something like #_NEXTEVENTLINK and #_PREVEVENTLINK that cold be used in a href=”” and links automatically to the the next (or previous) event depending on the event currently shown.
Or with a shortcode like [eme_events limit='1' scope='next_event'] or [eme_events limit='1' scope='previous_event']
You can do paging using eme_events if you’d like … setting the limit=1 and paging=1 will automatically allow you to go to prev/next events. See http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/
Ok, finally it is a howto-request and I failed again to avoid a RTFM answer 😀
I had missed paging but after some experimenting with it I can say that it is not what I was looking for. But I found a way to do it with existing features of EME.
I created a template that only consists #_LINKEDNAME and in the Default single event format I added [eme_events template_id='2' limit='1' scope='--#_{Y-m-d}' order='DESC'] for the event before the current one and [eme_events template_id='2' limit='1' scope='++#_{Y-m-d}'] for the event after the current one. With some css I arranged it nicely that it looks like a post navigation.
So at the end not that difficult.
Sorry for disturbing but sometimes it helps to talk about an issue to look differently and find a solution.
That’s also a nice workaround (although I don’t see the real difference with regular paging but I guess it is more a CSS thing at that point).