Topic: Help needed with sidebar upcoming events / custom lcsbar.php?
Greetings all
Being new to LuxCal i am testing the calendar for use with an arduino project to activate a lock based on an calendar event.
I made a sidebar available on a page which is scanned by the arduino code for a specific name of an event. when found the lock is closed
and when not found the lock is opened
But when i use the sidebar upcoming events the event on the page is displayed even if the time of the event is past already
When i used the display03 i could use the $futEvts = 1; setting to not show passed events on the current day but on the sidebar i noticed $futEvts was not available to use.
But the dislpay-page should be in the calendar root directory and i need it one directory up so thats why i wanted to use a sidebar
(displaypage in iframe won't work as the arduino code does not see the contents inside the iframe)
Is there a way to change the lcsbar.php so it can use the $futEvts setting or so that it doesn't display events that are past already on the moment the page is displayed (scanned in my case)
i would really appreciate your help so i can make my project work with LuxCal