Ninja Forms - iCalendar
Add an iCalendar to your Ninja Forms.
by Per Søderlind · github.com/soderlind/icalendar-ninja-forms · website
★ 4stars
3.1kcomposer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/soderlind/icalendar-ninja-forms/archive/refs/heads/main.zipAlso on Packagist as soderlind/icalendar-ninja-forms:
composer require soderlind/icalendar-ninja-formsDeclares an update source (https://github.com/soderlind/icalendar-ninja-forms), so updates arrive through the plugin's own updater.
From the readme
iCalendar for Ninja Forms
Description
Add an iCalendar to your Ninja Forms.
Installation
Prerequisite:
- PHP 7.4-8.x
- Ninja Forms
You know the drill:
1. Download the plugin
1. Upload the plugin via Plugins-Add New-Upload
1. Activate the plugin.
1. Use Ninja Forms to add the iCalendar.
Use
Per event form, add the action:
Add event date etc:
Add link to Success Message, Email Confirmation etc:
- Link ({ical:link}), adds a Add the event to your calendar link. The "Add the event to your calendar" text can be changed in iCalendar settings.
- URL ({ical:url}), adds http[s]://yoursite.tld/event-xyz.ics
Conditional Logic
Require Ninja Forms Conditional Logic to be enabled.
Per condition
- add an iCalendar
- add a response.
See example below
Email with iCalendar link
Example calendar.ics:
See also
I've created a date range add-on for Ninja Forms.
Changelog
2.2.0
- Create the calendar using Eluceo\iCal
- multiline message
- link to event page
- add event location, inclusive latitude and longitude
- attach calendar to email confirmation
- Update translation file.
- Add Norwegian translation
- Update dependencies
- Housekeeping
2.1.1
- PHPStan it.
2.1.0
-
Read the full README on GitHub →