• Resolved fabian296

    (@fabian296)


    Hello,

    I have a problem with the upcoming events of the amr ical widget.

    I inserted my public ics. google cal link and at start it showed me the upcoming events. But right now, after a few days, it just shows the past events and not the upcoming. Actually i would like to have just the upcoming events to be shown… I tried all the shortcodes etc. in the widget, but it didnt work. I’ll attach 2 screens to show you what i mean.
    I already read a lot of topics here, but i am not sure about a solution. I hope it is possible in any way.

    Info: I use Listtype 7 and edited it.

    https://gyazo.com/f36a0824bce6b852de1adadfa4c97b77
    https://gyazo.com/a495630e4f1554efe2032c2a3f1d2657

    • This topic was modified 3 years, 5 months ago by fabian296.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author anmari

    (@anmari)

    Hi Fabian,

    1) check for the listtype cache settings in hours – has it refreshed from google?
    2) check in your system log whether the http request is timing out or not. If yes see under settings, advanced, you can extend the http timeout
    3) please post your ics url and/or check it yourself by opening in a text editor, whether the new events are actually in the file. Are the new events in the file
    4) In the screenshot you posted you are showing June events. Are your new events in July?

    Thread Starter fabian296

    (@fabian296)

    Hi,

    thanks for the reply.

    1) Cache settings (Events, Days, cache): 7, 60,1
    2) I don’t know how i can check this?
    3) https://calendar.google.com/calendar/ical/13nr4mcdtvig9r1fm0alu19dj4%40group.calendar.google.com/public/basic.ics

    –> yes the data are taken over, I have this link also in 2 other calendars, there the events are also taken over.

    4) Both. There were new events in June and in July.

    So I think that the data are taken from the google calendar. The only problem is: I would like the widget to always show me the 7 upcoming events (from the current day). Events that are past, should not be displayed at all. So as soon as an event is over, it should fly out of the display and the 7th newest event should come into the list.

    Do you understand what I mean? or am I explaining it badly, my english is unfortunately not so good.

    Thank you very much!

    Fabian

    • This reply was modified 3 years, 5 months ago by fabian296.
    Plugin Author anmari

    (@anmari)

    Hi,
    It looks there were past events in the file and in the screenshot you had navigated to June, so yes if there were June events in the file they would show.

    Most lists by default show future events starting with current date. Some lists like the monthly calendar (or if the time period is specified in months), will show any past events in the current month too.

    The widget listtype (4) shows events from the current date by default.

    IF navigation like show_month_nav=1 show_look_more=1 pagination=1 is shown, then users can navigate to past events if they exist in the ics file.

    So one could simply NOT have any navigation that would let people click to old events. IE show_month_nav=0 show_look_more=0 pagination=0

    Alternatively Events are displayed with classes like ‘future’, ‘inprogress’ or ‘history’ so one could hide or grey out past events.

    See parameters here:
    https://icalevents.com/support/documentation/shortcodes/

    Demo of widget listtype here https://test.icalevents.com/agenda/widget-standalone/
    Demo of listtype with navigation https://test.icalevents.com/other-testing/ics-tes/

    It looks like you have deleted the old events from the ics file.

    Thread Starter fabian296

    (@fabian296)

    `I am not sure if I understand it completely. Yes I had created the calendar then again. The one before that was just a test calendar, so to speak. The current https://calendar.google.com/calendar/ical/13nr4mcdtvig9r1fm0alu19dj4%40group.calendar.google.com/public/basic.ics is now active.

    I use only the widget. I have the following settings now active:
    https://gyazo.com/0b0fd263ec0f6179ccb0250ed435f3b6

    e.g. today (30.June) only the event from 30. june is displayed. But actually I still have some events that come already on July 2.
    https://gyazo.com/4670b720b642004624247f619273a88a
    Are events from the next month not displayed?

    I’ll see if it works in July now, that always the 7 latest events are displayed by the widget and the expired events are replaced by new ones (but still only 7 maximum).

    If it does not work I would like to contact you again.

    Thanks a lot.

    Fabian

    Thread Starter fabian296

    (@fabian296)

    phew, I don’t understand why it doesn’t just show the new events as of today’s date….
    I added older events to Google Calendar 2 hours ago (for completeness for the users). Now it has updated the widget automatically, but still shows the past events from June and not the future ones….

    https://gyazo.com/af95c3977cd800c904364c9fb112bae1

    I do not understand it

    Plugin Author anmari

    (@anmari)

    Fabian, I suspect you are getting difficulties here because in the screenshot you appear to be using the ‘Upcoming event calendar’ widget which is intended to be a block calendar widget. It has a bunch of defaults that suit that.

    BLOCK calendars will show all events in the month being shown including past events. You are then trying to force it to be a list by specifing listtype 7 which is intended to be for people using amr-events and to show upcoming recurring times for an internal event.

    PLEASE use the widget ‘upcoming events list’ rather if you do NOT want a black calendar as that appears to be more suited to your needs. By default it uses listtype 4 & does not have navigation.

    Thread Starter fabian296

    (@fabian296)

    ahhh okey, i understand. You are right I used the Upcoming Events Calendar widget.

    I have now selected Upcoming Events List. Does it work with Listtype 4 for sure that always only the newest 7 are shown or does Listtype 7 work too?

    Thread Starter fabian296

    (@fabian296)

    Its working now with Listtype 4 and the Upcoming events list!

    thanks a lot for the help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘amr ical, show up coming events’ is closed to new replies.