定制 numero2/contao-churchdesk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

numero2/contao-churchdesk

最新稳定版本:2.0.1

Composer 安装命令:

composer require numero2/contao-churchdesk

包简介

Import news and events from ChurchDesk into Contao

README 文档

README

License: LGPL v3

About

Import news and events from ChurchDesk as news into Contao.

System requirements

Installation

  • Install via Contao Manager or Composer (composer require numero2/contao-churchdesk)
  • Run a database update via the Contao-Installtool or using the contao:migrate command.

Configuration

  • Enter credentials in the config.yaml
    church_desk:
        api:
            organization_id: 123
            partner_token: 'abc'
  • Configure the event calendar and or news archive

Events

By default the bundle only imports certain information from ChurchDesk. If you need more data you can import them on your own using the contao.churchdesk_import_entry event:

// src/EventListener/ChurchDeskImportEntryListener.php
namespace App\EventListener;

use numero2\ChurchDeskBundle\Event\ChurchDeskEvents;
use numero2\ChurchDeskBundle\Event\ImportEntryEvent;
use Symfony\Component\EventDispatcher\Attribute\AsEventListener;

#[AsEventListener(ChurchDeskEvents::IMPORT_ENTRY)]
class ChurchDeskImportEntryListener {

    public function __invoke( ImportEntryEvent $event ): void {
        // …
    }
}

Console Commands

An automatic import of all events and blog entries can be started via the command vendor/bin/contao-console contao:churchdesk:import.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2023-12-08