Events Made Easy › Forums › Generic › Navigation through the events
- This topic has 5 replies, 2 voices, and was last updated 7 years, 9 months ago by
Franky.
-
AuthorPosts
-
Tue 20 Mar 2018 at 21:54 #57735
Anonymous
InactiveAlso 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?
Tue 20 Mar 2018 at 22:08 #57737Franky
KeymasterI think [eme_filterform] is what you’re looking for here.
Tue 20 Mar 2018 at 23:49 #57740Anonymous
InactiveNo, 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']
Wed 21 Mar 2018 at 00:01 #57742Franky
KeymasterYou 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/
Wed 21 Mar 2018 at 23:43 #57743Anonymous
InactiveOk, 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.
Thu 22 Mar 2018 at 00:51 #57746Franky
KeymasterThat’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).
-
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.