stephenharris / Event-Organiser

WordPress plug-in, Event Organiser, development repository
http://wordpress.org/extend/plugins/event-organiser/
GNU General Public License v3.0
100 stars 76 forks source link

Enhancement: filtering widget calendar markup #353

Open lmoffereins opened 8 years ago

lmoffereins commented 8 years ago

Loving your product, really :+1:

To further this plugin, I suggest the ability to modify the markup of the EO_Calendar_Widget events table. Use cases for this would include changing the contents of the table title in <caption> or repositioning of the previous/next month buttons. This could be implemented as a single filter before adding the <table> to the $calendar array or at multiple stages throughout the construction of it.

stephenharris commented 8 years ago

I prefer the idea of a template file over a filter. Although filtering mark-up allows for multiple callbacks to modify it, this is rarely possible (or a good idea) as you don't know what that mark-up will look like when it gets to you.

lmoffereins commented 8 years ago

A template file is equally fine with me. I just hope it doesn't require you to juggle around a lot with global variables in it.

christianvoigt commented 6 years ago

Hi, what is the status on this issue? I could really use this feature as the design & layout of the calendar slightly differs from the ones my designer would like me to implement.