pixelmairie/sulu-townhalldeliberationbundle 问题修复 & 功能扩展

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

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

pixelmairie/sulu-townhalldeliberationbundle

最新稳定版本:1.0.1

Composer 安装命令:

composer require pixelmairie/sulu-townhalldeliberationbundle

包简介

Manage deliberation for town hall on Sulu CMS

README 文档

README

Deliberation for Town Hall Bundle

GitHub release (with filter) Minimum PHP Version Dependency Dependency Quality Gate Status

📝 Presentation

A Sulu bundle to manage deliberations.

✅ Features

  • Deliberation management
  • List of entities (via smart content)
  • Activity log
  • Trash

🚀 Installation

Install the bundle

Execute the following composer command to add the bundle to the dependencies of your project:

composer require pixelmairie/sulu-townhalldeliberationbundle

Enable the bundle

Enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

return [
    /* ... */
    Pixel\TownHallDeliberationBundle\TownHallDeliberationBundle::class => ['all' => true],
];

Bundle Config

Define the Admin Api Route in routes_admin.yaml

townhall.deiberations_api:
  type: rest
  prefix: /admin/api
  resource: pixel_townhall.deliberations_route_controller
  name_prefix: townhall.

👍 Use

Add/Edit

Go to the "Town hall" section in the administration interface. Then, click on "Deliberation". To add, simply click on "Add". Fill the fields that are needed for your use.

Here is the list of the fields:

  • Title (mandatory)
  • Date (mandatory)
  • PDF file (mandatory)
  • Description

Once you finished, click on "Save".

The deliberation you added is not visible on the website yet. In order to do that, click on "Activate?". It should be now visible for visitors.

To edit, simply click on the pencil at the left of the entity you wish to edit.

Remove/Restore

There are two ways to remove a deliberation:

  • Check every deliberation you want to remove and then click on "Delete"
  • Go to the detail of a deliberation (see the "Add/Edit" section) and click on "Delete".

In both cases, the deliberation will be put in the trash.

To access the trash, go to the "Settings" and click on "Trash". To restore a deliberation, click on the clock at the left. Confirm the restore. You will be redirected to the detail of the deliberation you restored.

To remove permanently a deliberation, check all the deliberations you want to remove and click on "Delete".

🤝 Contributing

You can contribute to this bundle. The only thing you must do is respect the coding standard we implement. You can find them in the ecs.php file.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-08