Easily bookmark upcoming events

This useful stack generates downloadable .ics calendar files on your webpages. It makes it really easy and convenient for your website users to download and bookmark forthcoming events in their preferred calendar software (e.g. Outlook, iCal, Sunbird or Lightning). This stack saves the time and hassle of needing to export and upload .ics files yourself.

AddEvent generates a 'version 2' formatted .ics file. So in addition to the event title and date, you can also supply a description, location and web address. In newer calendar software (like iCal) locations are automatically presented with a map pin and optional directions. A user can set a reminder and sync the event across all their devices.

An .ics event file generated by AddEvent and added to iCal
An .ics event file generated by AddEvent and added to iCal

Unlike the former 'AddThisEvent' stack, this new stack has no dependencies on third-party websites or services. You do not need to buy an expensive license or endure a complicated process of registering each website you want to use the stack on. Instead, AddEvent uses some clever PHP code to take your event details and convert them into a downloadable .ics file.

It's perfectly feasible to use multiple AddEvent stacks on the same webpage. It is possible to create an event that will span several days (like a sporting fixture or concert). The extension of the webpage can remain as .html but you must run the stack on a web server that has a minimum of PHP 5.6 or greater. Stacks 3 or later is required.


This is a working example of the AddEvent stack. Click the 'add to calendar' button...  



Follow these instructions to setup Add Event:
  1. Open the Stacks Library. Find Add Event. Drag and drop a copy of the stack into your webpage
  2. Select the stack in edit mode. Configure the details for the event, in the stack settings
  3. Export or publish the page to a web server with PHP 5.6 or greater. This stack does not work correctly in RapidWeaver preview
  4. Click the download button to test

The date and time you set is synchronised with your web server clock. So as an example, if you set a time of 2.00PM and the web server is running in the New York timezone, then the time shown to someone in New York will be 2.00PM. However for a person elsewhere in the world (in a different timezone), the time will instead get converted to their local timezone. If you test the stack and find that your events are beginning or ending at the wrong time, then there is a good chance your server is running in a different timezone. In which case, you can login to your control panel to adjust the timezone setting (or stipulate a new one in the .htaccess file) or ask your web hosting company to do it for you. There is also a custom timezone setting in the stack, although this is not compatible universally with all hosting companies.

When a user downloads the .ics file, they simply have to double-click it to install in their preferred calendar app. Events are not added automatically for security reasons - and because it may be a users personal preference to change which app or calendar the event is added to. The file name of the download can be customised, but it must be in a web safe format; to mean letters and numbers only, no spaces or special characters (other than hyphens or underscores).
Thanks! Please check the following:
System requirements
This stack requires RapidWeaver and the YourHead Stacks plugin. It will not work with other platforms (like Wordpress). We recommend you aim towards installing the latest version of RapidWeaver that your computer is capable of running (preferably RapidWeaver 6 or greater) and Stacks 3 or later.

License agreement
You may use this purchased stack an unlimited number of times in personal or commercial projects, request technical support and receive free updates in future.

This stack can be installed or synced onto all computers that you own. You are permitted to make archival backup copies of the stack.

You may not resell or make this stack available for download, remove copyright credits or license information.

The software is provided "as is" without any implied or expressed warranty of merchantability or fitness for purpose. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise arising from, out of or in connection with the software or the use or other dealings in the software.

Refund policy
By purchasing this stack, you agree that your purchase will be available immediately via digital download and that you waive your statutory right of withdrawal.

All purchases are final and refunds will not be provided (we physically cannot un-download or remove stacks from your computer).

You are reminded to make use of the free demo version already provided on the website, to fully evaluate this stack for compatibility and suitability before purchase.

Customer support
If you have questions that relate specifically to this stack, you should make contact via the support page. We aim to answer all messages within 12 hours, Monday to Friday.

If you require a faster response at weekends or during public holidays, please post your question(s) to the RapidWeaver forums, where a support volunteer may be able to assist you quicker.
Free demo versions
We provide free demo versions of all our stacks, so you can try before you buy! In the free demo's, automatic updates are disabled, a credit is displayed below the stack, and the stack fades out of view after 60 seconds. There are no trial expiries or disabled features. Buy with the confidence of knowing what you're getting.
What is a Stack?
A stack is a drag-and-drop component you can add to your webpages. These individual stack elements can be used to quickly add extra layout or functionality. Stacks work inside the Stacks plugin by YourHead software; an extremely popular plugin for RapidWeaver.
Learn more >
Customer support
Questions, feature requests, bug reports, or advice required about our stacks? No problem, we're here to help you. Fast and friendly expert support direct from the developers. No lousy FAQs, canned responses, complicated ticket systems or outsourced support agents here!
Learn more >
All prices shown include any applicable VAT
RapidWeaver® is a registered trademark of Realmac Software
Webpage Updated: 30/12/2017