Upcoming Events List showing events outside event horizon


(Nic Hubbard) #1

I am working on a 4.14.3 system and using an Upcoming Events list to show a list of events 7 days in the future.

 

For some reason, it is listing an event from January 1, 2014 and some other April events that are BEFORE today. This seems really strange.

 

Are there some bugs in this asset or am I missing the entire point of this asset? I assumed it was to simply list future events.


(Ashish Karelia) #2

I had a look at the bug tracker and it doesn't seem to be a bug on that version of Matrix. Also can't remember anyone raising this kind of an issue.

Can you see if it also happens on later version of Matrix or is restricted to 4.14.3.

 

The settings for the Upcoming Events page is pretty straight forward so I am sure that wouldn't be an issue.

 

Best way to check the behaviour would be to try on a different Matrix version if you have one handy. If not then I'll see if I can get my hands on a 4.14.3 system to replicate

the issue.

 

Ash


(Nic Hubbard) #3

I tested it on 4.18.2 and could not replicate the issue. I am wondering if the events it is listing are some how corrupt or something...


(Tom Chadwin) #4

If this is our Matrix box, Nic, I'll take a look at it now.

 

Thanks

 

Tom


(Bart Banda) #5

Strange, the events its listing before today, are they recurring events?


(Nic Hubbard) #6

If this is our Matrix box, Nic, I'll take a look at it now.  
Thanks
 
Tom


Yep it is. Email me if needed.

(Nic Hubbard) #7

Strange, the events its listing before today, are they recurring events?

Not sure. Will check and get back to you.


(Tbaatar) #8

Is it possible the events were created in the past date but it is still ongoing therefore the keywords used is printing out the initial created date?


(Nic Hubbard) #9

Ah ok, I figured out what was going on. Yes, they were events that had a start period in the past and an end period quite a while in the future. So, since I was using the start date keyword it seemed a bit odd that it was showing up.

 

So, false alarm, will have to figure out how to display these in a better way.

 

Thanks everyone!


(Tbaatar) #10

You can use the %instance_start_date% or with PHP keyword e.g %instance_start_datetime_d% - %instance_start_datetime_M% - %instance_start_datetime_Y% to display it as the next upcoming date without showing the created date.


(Nic Hubbard) #11

You can use the %instance_start_date% or with PHP keyword e.g %instance_start_datetime_d% - %instance_start_datetime_M% - %instance_start_datetime_Y% to display it as the next upcoming date without showing the created date.

 

Yeah, but this is for Single Calendar Events, not Recurring Events, so the instance keyword doesn't work.


(Tbaatar) #12

hmmm, works on v4.18.


(Nic Hubbard) #13

hmmm, works on v4.18.

 

We are on 4.14.3, but I wouldn't think it would matter. These are events that don't have recurring instances. Just a start and stop period. So if you printed with the instance keyword, they would be no instance (but the first and only one) to print.