承接 boxhead/craft-churchsuite-events 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

boxhead/craft-churchsuite-events

最新稳定版本:1.0.8

Composer 安装命令:

composer require boxhead/craft-churchsuite-events

包简介

Sync ChurchSuite Events into Craft as native elements.

README 文档

README

Sync ChurchSuite Events into Craft as native elements.

Requirements

This plugin requires Craft CMS 4.5.0 or later, and PHP 8.0.2 or later.

Installation

You can install this plugin from the Plugin Store or with Composer.

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require boxhead/craft-churchsuite-events

# tell Craft to install the plugin
./craft plugin/install churchsuite-events

Configuring churchsuite-events

Once installed, you will need to configure the plugin settings with your ChurchSuite organisation/church handle as found in your ChurchSuite URLs. For example abcd in the URL https://abcd.churchsuite.com/.

The installation process will generate a number of custom fields, a filesystem and volume for storing event images, and a category group for event categories. You can change the names and labels of these elements but the handles should not be changed. Deleting these fields while the plugin is installed could also cause issues with the sync process.

You may create additional custom fields as your needs require and assign them to the ChurchSuiteEvent element field layout within the settings.

Using churchsuite-events

The Sync process pulls in all available events from ChurchSuite Calendar JSON feed and creates a new Event element for each one. The sync process will also update existing events if they have been changed in ChurchSuite. The sync process will not delete events that have been deleted in ChurchSuite but will set the status to disabled for any missing of historic events.

The sync process can be run manually from the plugin ultities page or can be set to run automatically on a schedule. The sync process can also be run from the command line using the ./craft churchsuite-events/events/sync command.

Twig Templating

The plugin provides an craft.churchsuiteevents() method to query events. The method returns an instance of craft\elements\db\ElementQuery which can be used to further refine the query.

{% set events = craft.churchsuiteevents().all() %}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-10-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固