Events Made Easy › Forums › How do I … › How do I create a page where authors could see the events they created?
- This topic has 5 replies, 3 voices, and was last updated 4 years, 4 months ago by
Anonymous.
-
AuthorPosts
-
Wed 23 Jun 2021 at 19:38 #62776
Anonymous
InactiveHi Frankie! First at all, thank you for your wonderful plugin.
I working on a birthday planning website and I need to create a dynamic front end page where author could view the status of his event(s). I almost got it, adding the “event made easy list of events” box in Elementor and writing next line in the “Or enter your own (if anything is entered here, it takes precedence over the selected template)” box:
[eme_if tag='#_IS_AUTHOR_OR_CONTACTPERSON' value='1']
#_LINKEDNAME
<br>#_STARTDATE, #_STARTTIME
<br>#_ADDRESS, #_TOWN
<br>
<br> Mis invitados confirmados:#_BOOKINGS
——————————————–
<br>
[/eme_if]Unfortunately events are missing from the same author. I stopped using the EME box in Elementor but I can not find the solution using shortcodes and placeholders. Also, I would like to avoid on membership since it would be an extra step for users. Would you mind to give some hints to resolve my problem?
Thanks a lot!
Guillermo
Wed 23 Jun 2021 at 20:35 #62777Franky
Keymasterby default EME only shows 0 events, and using your eme_if even less then. Just add limit=0 to the eme_events shortcode and it should be ok
Wed 23 Jun 2021 at 21:16 #62778Anonymous
InactiveThanks for your answer Franky!
Please accept my apologies if I didn’t express my problem correctly before. Got how limit=0 is working but my problem is how to use the shortcode [eme_events] in order to create a dynamic page that show to the logged in user just the events he created? This page should change for every logged in user automatically.
Something like this (I know it is not correct)
[eme_events limit=0 author='current logged in user']
Thanks!
Wed 23 Jun 2021 at 21:35 #62779Franky
Keymaster[eme_events limit=0 author='#_MYSELF']should work (and I just found that I never documented this “#_MYSELF” as a special value for audit or contact …Wed 23 Jun 2021 at 23:59 #62781Franky
KeymasterAlso, next to that, #_IS_AUTHOR_OR_CONTACTPERSON failed to account for contacts that were marked as “event author” for events. This is corrected in the development version too.
Thu 24 Jun 2021 at 04:38 #62782Anonymous
InactiveHi Franky!
Now it’s working properly. I do appreciate your quick answers and the update in the documentation.
Take care!
Guillermo
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.