FAQ / Troubleshoot

As we receive known issues our users have experienced while installing or using PHP Event Calendar we will post Questions and Answers here.

Requirements


Q: The files I have downloaded aren't complete or seem corrupt?

From time to time downloads don't work for one reason or another, but don't panic!

Please contact us via our ThemeForest profile, from that we'll get your e-mail address and we'll attach the most recent set of files in our reply.

Q: The day view page opens on another page? (No lightbox effect)

This can be caused by one of three problems, either an issue with the main inclusion of the Javascript files (in the < head> tags of your document), a dead-call (the Javascript files aren't located where they should be) or the Javascript call is placed incorrectly in the code (see bottom of calendar.php).

Please overview these areas, you will hopefully find your issue is solved with little effort, just with some careful tweaks.

Q: How do I restyle the calendar size to match my website?

We are limited to the support we can give regarding custom inclusion and re-styling although we can point you in the right direction, each day is styled using one template. Please take note to line 75 (< div class='cal_day'>) and below in calendar.php this is where the style tags are located and where each day is generated.

Simply restyle to your requirements in the stylesheet.css file.

You might find it useful to use a developer add-in for the Firefox browser to help you understand how the code renders on the page.

Q: How do I change the day view time into 12 hour format?

To change the time format for the day view page follow these simple instructions:

File: functions/functions.php Aprox Line 58
$time_from = date("G:i a", strtotime($row['time_from']));
$time_until = date("G:i a", strtotime($row['time_until']));
Replace with :
$time_from = date("g:i a", strtotime($row['time_from']));
$time_until = date("g:i a", strtotime($row['time_until']));
Save and upload file functions/functions.php the changes will now be made.