darinlarimore/statamic-calendar-links
最新稳定版本:1.0.1
Composer 安装命令:
composer require darinlarimore/statamic-calendar-links
包简介
README 文档
README
A Statamic addon that provides a calendar link fieldtype, allowing users to create calendar events that can be added to Google Calendar, Apple Calendar, Yahoo Calendar, and Outlook. Built using spatie/calendar-links.
Features
- Custom fieldtype for calendar events
- Generate calendar links for multiple platforms:
- Google Calendar
- Apple Calendar (ICS)
- Yahoo Calendar
- Outlook Web
- Input fields for:
- Button Label
- Event Title
- Start Date/Time
- End Date/Time
- Location
- Description
How to Install
You can install this addon via Composer:
composer require darinlarimore/statamic-calendar-links
How to Use
Adding the Field
Add the calendar link field to your blueprint:
The default handle is calendar_link_field but you can change it to whatever you like.
Using the Field
When the Calendar Link field is configured to be required, the Button Label, Event Title, Start Date/Time, and End Date/Time fields are required.
Template Usage
To use the calendar link in your templates, you can use the following code:
{{ calendar_link_field:button_label }}
{{ calendar_link_field:google_link }}
{{ calendar_link_field:yahoo_link }}
{{ calendar_link_field:webOutlook_link }}
{{ calendar_link_field:ics_link }}
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-04-20

