Image Calnder Event Module Display Ordering

7 years 3 weeks ago #1505 by ponyack
Hi,

We two events on one day. The event for the evening was created first and start time is 9pm. We created a second event and that was on the same day and the start time was 1pm - 4pm .

No matter the configuration the second event(1pm)shows up after first event (9pm)

Essentially the calender is not placing the earlier event before the later event on the same day.

Any advice woudl be appreciated

Thanks,

John

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago #1512 by sysgenmedia
Replied by sysgenmedia on topic Image Calnder Event Module Display Ordering
Which module are you referring to?

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago #1515 by ponyack
Replied by ponyack on topic Image Calnder Event Module Display Ordering
Hi

I am referring to the Image Calendar List View

Here is a link www.slimsraleigh.com/

Thanks,

John

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago #1518 by sysgenmedia
Replied by sysgenmedia on topic Image Calnder Event Module Display Ordering
Ahh, i see the issue. Let me look into a solution this weekend.

Jared

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago #1605 by ponyack
Replied by ponyack on topic Image Calnder Event Module Display Ordering
Hi,

Have you been able to find a solution for the event order?

Thanks,

John

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #1644 by sysgenmedia
Replied by sysgenmedia on topic Image Calnder Event Module Display Ordering
Hi John,
Sorry for the delay, we had been hit hard by Hurricane Sandy... Anyways, try the following:

in the file: components/com_imagecalendar/models/calendar.php, in the _addOrderBy function, around line 252, add this before the query so that it looks like this:
if ($column == 'startdate') $column = 'startdate, starttime';
$query = " ORDER BY $column $direction";

Please Log in or Create an account to join the conversation.

More