How to use the unset command

If you are displaying multiple copies of the calendar on the same page, you may need to clear some variables if some of them don't display properly or show the expected events. Just inset the line of code below before the require command for each additional calendar:

unset($displayedEvents,$showDateS,$EPCBLOG);


Was this answer helpful?

 Print this Article

Also Read

Why do the pop-ups not work?

For the pop-ups to work, they must be enabled on the Pop-ups page of the Setup Manager. Pick...

Why do background colors not show (white boxes)?

This generally happens when the categories haven't been properly saved. To fix this, log in to...

Calendar stopped working

So, the calendar was working wonderfully, but suddenly it has stopped. This guide will help to...

Visitors can't see events

If visitors can not see events, in the calendar settings:1) On the Users screen, make sure the...

How to use $thisFile

In some instances, PHP will not be able to provide the calender with the correct file name of the...