c3rebro\webcalendar
This is a Fork from Werner Zenks webcalendar. You can obtain a copy of the original from Tommy Hermanns's Archive
Copy calendar.php, webcalendar.js and webcalendar.css to your www dir and insert a div with the "zenk-calendar" keyword id into your html. Update file permissions as needed and have a look at the paths to point to the stylesheet and the javascript. Do not forget the location of the calendar.php. Its location has to be updated in webcalendar.js on the first lines. You can define the calendar language and timezone (important for ics export) inside the webcalendar.php
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="light dark" />
<title>Event-Calendar (SQLite)</title>
<link rel="stylesheet" href="webcalendar.css" />
<script src="webcalendar.js" defer></script>
<style>
/* Only for this Demo! */
body {
margin: 3rem 1rem 68rem 0.5rem;
}
</style>
</head>
<body>
<div id="zenk-calendar" style="max-width:800px;"><noscript>This Webcalendar needs JavaScript enabled!</noscript></div>
</body>
</html>
Default "light" layout:
Summary of appointment:
Login for administrator:
Create a new event: