numero2/contao-contact-persons 问题修复 & 功能扩展

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

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

numero2/contao-contact-persons

最新稳定版本:0.1.0

Composer 安装命令:

composer require numero2/contao-contact-persons

包简介

Manage contact persons for pages, news and events.

README 文档

README

License: LGPL v3

About

Manage contact persons for pages, news and events.

System requirements

Installation

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

Events

If you want to extend the contact persons using your own fields you can use the contao.contact_person_parse event to modify all the data that will be used in the templates.

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

use numero2\ContactPersonsBundle\Event\ContactPersonEvents;
use numero2\ContactPersonsBundle\Event\ContactPersonParseEvent;
use Symfony\Component\EventDispatcher\Attribute\AsEventListener;

#[AsEventListener(ContactPersonEvents::CONTACT_PERSON_PARSE)]
class ContactPersonListener {

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2024-01-29