Skip to main content
Calendar Events app icon. A skewed and stylized black and white wall calendar with one orange day mark.

Calendar Events

MIT   license

About

Calendar Events is a ready-to-use tool that will produce a dynamically created, responsive web calendar. By using a web server with the LiveCode server engine installed, this collection of files (and an app) can help you quickly create a web page with a nice-looking calendar. The page that the web browser is pointed at is called “calendar_demo.lc” but you can rename it to whatever... just leave the .lc extension. In addition to requiring the presence of LiveCode server, there are some files that the “calendar_demo.lc” page expects to be in the same directory as itself (though this can also be changed if you poke through the code.) A “css” folder with a “calendar.css” file in it. An “images” folder with some calendar images. And a folder named “calendar_events_data” which is where “calendar_demo.lc” will look to find the event data to populate itself with. To create this event data, use the (Macintosh or Windows) application that you can download separately.

When using the app to add events, the “Event Description” text may be wrapped inside tags such as <span>, <b> or <a href= ... >. This html will be passed into the final structure and produce the expected formatting. Paragraph tags should not be used. Simply pressing the RETURN key in the app will result in line breaks being created by the calendar. If you wish to place a general announcement in the Side-Bar without having it appear in a day-box, select the “For Side-Bar Only” menu item from under the “Edit” menu. Putting the word “top” or “bottom” in the event time field can be used to coerce its position in the Side-Bar.



The calendar makes use of Bootstrap, though with a bit of alternative formatting, this could be removed.
Some ISPs will let you install a version of LiveCode server yourself or you can use an ISP that has it preinstalled like hostm or LiveCode's own service.

Here is a bare bones example of what you get (along with some sample events.)
Here is an example of the calendar embedded in this website.

Download

Place these files on your web server:

  web_files.zip    

Create and upload event files with this compiled and code-signed app:

  Macintosh    
  Windows    

Or open it in the LiveCode IDE from this source code:

  Source Code    

History

  • version 1.3.1   October 2026 - Added the ability to switch between FTP/FTPS and SFTP (this allowed me to work around an ftps issue I was encountering with tsnet and hostm.com where the Calendar Events app was unable to write to the hostm.com server.) The application window is no longer (uselessly) resizable. Additionally, the “calendar events web files” have all been updated to reflect the server folder name change from “calendar” to “calendar_events_data” which is also targeted by the desktop application.
  • web_files.zip 1.1   November 15, 2026 - The server-based files calendar_demo.lc and calendar.css were updated to make navigation between months and years easier. The livecode scripting inside calendar_demo.lc was also changed so that all variables are now strictly declared. Duplicate code in the calendar.css was removed and additional code was included to support updates to the calendar's new navigation features.
  • version 1.2.8   January 3, 2024 (Source Code and compiled MacOS only) April 30, 2024 (compiled for Windows) - Fixed an ftp issue where the file could fail to upload onto the server. Mac application now runs natively on both Intel and Apple Silicon (ARM) processors.
  • version 1.2.7   October 8, 2023 - Added compatibility with MacOS 14 (Sonoma). No feature changes.
  • version 1.2.6   January 28, 2023 - Added a “Save As…” feature. Usability improvements. Breaking Change: The expected name of the server folder that contains the event information has changed from “calendar” to “calendar_events_data”
  • version 1.2.4   June 1, 2021 - improved the basic undo features. bug fixes
  • version 1.2.1   April 25, 2021 - encrypted preferences and added text styling for Side-Bar
  • version 1.2.0   April 19, 2021 - first public release

Written with LiveCode  

If you like this free content:  Buy me a coffee on Ko-fi