[EventCalendar] Easier customization of DEFAULT_TIME_FORMAT?

Ralf Strandell ralf.strandell at auriamail.net
Wed Nov 8 18:03:33 UTC 2006


Hi

Because of localization, I needed to change the date format used in the
event LIST widget (ec3 widget). This is the widget that list events like
this:

day month
event 1
(time)

day month
event 2
(time)

day month
event 3
(time)

...

in the sidebar.

The required localization for Finland was done in
template-functions.php:

// define('EC3_DEFAULT_DATE_FORMAT',   'j F');
define('EC3_DEFAULT_DATE_FORMAT',   'j\. F\t\a');

This is very complicated for "ordinary people", but might be needed for
other languages too. Is there any chance of getting these date format
definitions as fields in the ec3 settings panel? With a short
accompanying help text/link...

I will be interesting to see what whappens after I start using the Gengo
plugin for blogging in two languages...

Also, wasting three lines per event (if there's only one event per day)
looks very nice, but is highly inefficient use of space. If I put a
small number of events there (maybe fifteen, twenty), then my calendar
view, search, category list etc. are three miles down the page... Would
it be possible to have easy to use settings that let one turn off the
time display and or the day/month "header"?


This ec3 is an excellent plugin, worth a lot of customization effort :)
Thank you very much for doing it.





More information about the EventCalendar mailing list