Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

event_calendar - Date *and Time


Go to End


2 Posts   1788 Views

Avatar
gadams999

Community Member, 4 Posts

23 March 2009 at 1:43pm

Hi,

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.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

24 March 2009 at 2:47am

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.