dnadesign/silverstripe-consultations 问题修复 & 功能扩展

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

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

dnadesign/silverstripe-consultations

Composer 安装命令:

composer require dnadesign/silverstripe-consultations

包简介

Build consultation forms for community engagement.

README 文档

README

Maintainer Contact

Requirements

  • SilverStripe 3.1
  • SilverStripe GridFieldExtensions
  • SilverStripe UserForms

Documentation

This module provides a boilerplate setup for publishing online consultations and displaying feedback.

This work has been open sourced from http://our10yearplan.co.nz and still opinionated and an early release.

Installation

composer require "dnadesign/silverstripe-consultations"

Functionality

This module provides the models for Consultation. Each consultation can be attached to an engagement form. These submissions can be displayed and graphed.

Forms are built using the SilverStripe UserForm module.

Page Types

This module introduces 3 new page types:

  • Consultation: display a form, optional reports and ranking
  • Consultation category: allow to group consultations
  • Consultation landing page: holds categories and consultation

Reports

Consultations can display "reports", a graphic way of displaying data from the form submission. Reports can only be based on EditableMultipleOptionField (e.g DropdownField, RadioField...). To create a report, on a Consultation page , head to the Report tab, create a new report with a title, save, then choose a field to base the report on.

Report Types

Out-of -the-box, you can display report as a doughnut chart (powered by Chart.js You can create new report type by extending ConsultationReportType and implementing:

function render($controller, $data) {}

Comments

Comments can include any field from the consultation form. To include a field in a comment, simply tick the option include in comment when creating the field.

##TO DO

  • Create more report types

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 16
  • Forks: 4
  • 开发语言: JavaScript

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-06-18