Jump to:

10990 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » event_calendar - Date *and Time

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 985 Views
  • gadams999
    Community Member
    4 Posts

    event_calendar - Date *and Time Link to this post


    UncleCheese, excellent module, pretty much one of the only things that's been holding me back from SS. I've got your module installed but thought that the date and time would should when showing upcoming events or filtering on them. Right now, in both IE7 and FF3.x, only the date is appearing. Is this correct, and is there a way to show the time along with the date?

    This is under SS 23.1 and the subversion co of your module. Last week was under SS 2.3.0.

    Also, do you know how well the css holds up in FF when not using the default template? In IE, placement looks good, but in FF, when selecting an event with alternate days or times, the left side of the div is getting chopped off. Not a biggie right now as I'm focusing on taxonomy for our church, but thought I'd mention it.

  • UncleCheese
    4085 Posts

    Re: event_calendar - Date *and Time Link to this post

    Thanks for the feedback! Here's what the template should look like for a basic RecentEvents() function.

    <% control RecentEvents %>
    $_Dates <!-- A consolidated date range in microformat markup -->
    <% if AllDay %>All day<% else %>$_Times<% end_if %>
    <% end_control %>

    You may also try <% control Times %> within that block, but I believe that's deprecated.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.