Events Made Easy › Forums › Bug fixed or feature request implemented › display "no events" in events_list shortcode
Tagged: no events
- This topic has 4 replies, 3 voices, and was last updated 8 years, 5 months ago by 
Franky.
 
- 
		AuthorPosts
 - 
		
			
				
Mon 30 May 2011 at 16:19 #42907
Anonymous
InactiveHi,
Thanks for developing this awesome plugin! It does most of what I need with a few tweaks, but I’m struggling a bit with this one:
I’m trying to show a (css styled) horizontal list of the upcoming weeks events across the top of my page. Some days don’t have events but because this is the style of the page, I need the days without events to still appear and show the “No events” text as set in the configuration of the plugin.
HOw can I do this? I found this post in the forum http://www.e-dynamics.be/bbpress/topic.php?id=562 but I’m not sure how to use a filter hook to get the “no events” to show up.
Also, my week span is Mon-Sun. So if it’s Thursday, I still need the previous Mon-Wed to show, even though it’s in the past. Seems weird, I know, but that’s what the client wants.
Just curious – where does the “No events” text usually show up? Shouldn’t it be on a day with ‘no events’? Maybe I’m missing the checkbox that allows days with ‘no events’ to show?
BTW, my shortcode is in a page (but may end up in a widget or sticky post). Here is what I’m using:
[events_list scope=this_week showperiod=daily format="
- <li >#H:#i #_LINKEDNAME
 
"]
Thanks again – great plugin!
Mon 30 May 2011 at 19:37 #47839Franky
KeymasterEmpty days are not shown, the event list is not a calendar. Using wordpress and hooks/filters is explained here: http://www.e-dynamics.be/wordpress/?cat=41
For now the this_week parameter doesn’t take the shift into account. This is a bug, so I’ll move this to bugs for that part.
Wed 29 Jun 2011 at 21:40 #47840Franky
Keymasterthis_week should now take the shift into account, please test the current devel version: http://downloads.wordpress.org/plugin/events-manager-extended.zip
Tue 30 May 2017 at 21:36 #56227Anonymous
InactiveHi,
I’m using this plugin for a long time now, so thanks for the good work!
However, I’m stuck at the same problem trying to display a weekly list of events via php with the “No events” massage showing instead of a blank.Is there a solution yet or am I just missing a key/value?
Tue 30 May 2017 at 22:41 #56228Franky
KeymasterThe “no events” shows per shortcode usage, not per day in it. So use a scope for each day, see http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/ , scope setting “Nd–Md”
 - 
		AuthorPosts
 
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.