• Resolved Bindissimo

    (@bindissimo)


    Hello,

    First I want to congratulate to the author, Stephen, for his great work. Thank you for sharing your work! Guys like you make WordPress such a great CMS.

    I have a little question. When I display the full calendar the events are displayed like “20:00 Event name”. I would need to add the name of the category in front of it so that it looks like “Category: 20:00 Event name”.

    Unfortunately I wasn’t able to find the part which I need to edit. I would really appreciate if someone could tell me the file which I need to edit.

    Thanks in advance and best regards.

    http://wordpress.org/extend/plugins/event-organiser/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have this same question. I would also like to change the time displayed to am/pm rather than military time. How do edit the template for the calendar and have it so that the changes are not overriden when I update the plugin?

    First of all, sorry @bindissimo that I seemed to have missed your post.

    You can specify the a time format for the calendar by using the (not well documented :s ) timeformat attribute:

    [eo_fullcalendar timeFormat="h:i:a"]

    The time format should be specified in the [php format](http://php.net/manual/en/function.date.php);

    Unfortunately, it’s not possible to add the event’s category in front of the time. If you wish to edit the plug-in itself though, the relevant file would be frontend.js (see dev version of source). For documentation on how the calendar works, the plug-in uses the jQuery plugin, FullCalendar by Adam Shaw.

    Thread Starter Bindissimo

    (@bindissimo)

    Stephen, thanks for answering my question. Even without adding the category in front of the event, everybody is happy with the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Event Organiser] How to edit calendar’ is closed to new replies.