robuust/craft-teamup 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

robuust/craft-teamup

最新稳定版本:2.0.0

Composer 安装命令:

composer require robuust/craft-teamup

包简介

Teamup plugin for Craft CMS

README 文档

README

Plugin that allows you to import Teamup entries.

Requirements

This plugin requires Craft CMS 5.0.0 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require robuust/craft-teamup
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Teamup.

Config

Create a file called teamup.php in you Craft config folder with the following contents:

<?php

return [
    // General
    'apiToken' => '', // YOUR API TOKEN
    // Section
    'sectionHandle' => 'YOUR_EVENT_SECTION_HANDLE',
    'entryTypeHandle' => 'YOUR_EVENT_ENTRY_TYPE_HANDLE',
    // Fields
    'eventIdField' => 'YOUR_EVENT_ID_FIELD', // PlainText
    'locationField' => 'YOUR_EVENT_LOCATION_FIELD', // PlainText
    'startDateTimeField' => 'YOUR_EVENT_START_DATETIME_FIELD', // DateTime
    'endDateTimeField' => 'YOUR_EVENT_END_DATETIME_FIELD', // DateTime
    'unitField' => 'YOUR_EVENT_UNIT_FIELD', // PlainText
    'descriptionField' => 'YOUR_EVENT_DESCRIPTION_FIELD', // Redactor
    'attachmentsField' => 'YOUR_EVENT_ATTACHMENTS_FIELD', // Assets
];

Usage

Run craft teamup/import YOUR_CALENDAR_KEY on the CLI to import the newest items.

Run craft teamup/import/cleanup YOUR_CALENDAR_KEY on the CLI to clean up old items.

统计信息

  • 总下载量: 66
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-03