2017 © Pedro Peláez
 

craft-plugin craft-ics-importer

Imports ICS calendar feeds that can be used in your templates.

image

includable/craft-ics-importer

Imports ICS calendar feeds that can be used in your templates.

  • Tuesday, January 9, 2018
  • by tschoffelen
  • Repository
  • 2 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 200 % Grown

The README.md

ICS importer plugin for Craft CMS 3.x

Imports ICS calendar feeds that can be used in your templates., (*1)

Requirements

This plugin requires Craft CMS 3.0.0-RC1 or later., (*2)

Installation

To install the plugin, follow these instructions., (*3)

  1. Open your terminal and go to your Craft project:, (*4)

    cd /path/to/project
  2. Then tell Composer to load the plugin:, (*5)

    composer require includable/craft-ics-importer
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for ICS importer., (*6)

Using this in your template

{% set events = craft.icsImporter.feed({
    url: 'https:/.../events.ics',
    cache: 86400
}) %}



{% for event in events %} {% endfor %}
Title Start End Description Location URL
{{ event.title }} {{ event.start | date('d-m-Y H:i') }} {{ event.end | date('d-m-Y H:i') }} {{ event.description }} {{ event.location }} {{ event.url }}

Brought to you by Includable, (*7)

The Versions

09/01 2018

dev-master

9999999-dev

Imports ICS calendar feeds that can be used in your templates.

  Sources   Download

MIT

The Requires

 

cms craftcms craft-plugin craft ics importer