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);


Byla tato odpověď nápomocná?

 Tisknout tento článek

Také čtěte

How to use $thisFile

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

Why is the time an hour off?

Does your calendar mark the next day an hour late or an hour early? This probably is because of...

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...

Visitors can't see events

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

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...