Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Extension for cms contao to export events as ical-download. This script is NOT listed in the extension-manager/composer, you only need to copy&paste a single file.

Notifications You must be signed in to change notification settings

ADoebeling/contaoIcalExport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

CMS Contao: iCal-Event-Export

This extension to the cms contao allows to export a event as ical-download. It is NOT a native contao-extension and it is NOT listed to the extension-manager/composer, cause it simply consists of one file/class you can easily copy&paste.

How does it work?

Simply link this script from your event or events-template and the browser will start to download the event as ical-file: http(s)://$DOMAIN.TLD/contaoIcalExport.php?eventId=XX

The following fields are exported:

  • event-title
  • teaser-text
  • location
  • startDate/startTime
  • endDate/endTime
  • event-alias (as filename: $alias.ics)

How to install?

  • Download file and store it to htdocs/httpdocs (contao-home)

  • Test it with: http://$DOMAIN.TLD/contaoIcalExport.php?eventId=XX

  • Implement iCal-Download-Button to the templates/event_full.html5 or wherever u need it by adding <a href="/contaoIcalExport.php?eventId=<?=$this->id?>">Download as iCal-File</a>

  • Implemented and tested at contao 3.3 but should also work on the most newer and older contao-versions

Support/Questions?

Please just fill a new issue

Credits

Author: Andreas Döbeling (GitHub, Xing, Mail)
Copyright: 1601.communication gmbh
License: CC-BY-SA

About

Extension for cms contao to export events as ical-download. This script is NOT listed in the extension-manager/composer, you only need to copy&paste a single file.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages