Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Time Order?  (Read 280 times)
0 Members and 1 Guest are viewing this topic.
LarryR
New Member
*

Karma: 0
Offline Offline

Posts: 0

project specialist


WWW
« on: November 20, 2003, 10:20:00 AM »

When I enter a second event for a particular day, at let's say , 7:30 am and the existing event is at 2:00 pm, how can I get the "earlier" time to appear before the later time on the calendar.
Example : 2:00 PM - 3:00 PM Luncheon
         7:30 AM - 9:00 AM Breakfast

How do I get the events to appear in time order ?

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: November 20, 2003, 08:53:00 PM »

Try adding:

<% @$EVENTS = sort {$a->{schedule}->{start_time} <=> $b->{schedule}->{start_time} } @$EVENTS; %>

(on one line)

before each line from the default.html template file like:

<%FOREACH EVENT%>

Dan O.


------------------

[This message has been edited by DanO (edited November 20, 2003).]

Logged
bodie
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: June 23, 2004, 06:48:00 PM »

I am also experiencing problems with daily event sorting.  I see the lines at the end of calendar.pl that are supposed to sort each day's events chronologically, but my events are still out of order.

I have two calendars, and both exhibit this problem.

Suggestions, please!

thank you,
~chris p.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: