定制 moe/full-calendar 二次开发

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

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

moe/full-calendar

最新稳定版本:v3.0.0

Composer 安装命令:

composer require moe/full-calendar

包简介

A lightweight calendar module for Silverstripe. Implements the popular javascript http://fullcalendar.io/ library.

README 文档

README

A lightweight calendar module for Silverstripe. Implements the popular javascript http://fullcalendar.io/ library.

Features

  • Lightbox event details
  • Stylish colour inheritance based on user selection
  • Hide past events automatically
  • Easily change the style/theme to match your brand
  • Change between month and agenda views
  • Page type for a list of upcoming events
  • Download single events as .ics files
  • Download entire calendar as .ics file

Installation

Composer

Ideally composer will be used to install this module. composer require "moe/full-calendar:@stable"

From source

  1. Download the latest [release] (https://github.com/peavers/silverstripe-full-calendar/releases)
  2. Extract the files
  3. Make sure the folder after being extracted is named 'full-calendar'
  4. Upload to your site root

Basic modification

Javascript

Common settings can be changed from the CMS, but to add additional options just add them to the calendarSettings.

function calendarSettings(json) {
    $('#calendar').fullCalendar({
        //custom settings here
    })
}

For more setting options see http://fullcalendar.io/docs/

CMS Setup/Usage

Page types

  • Full Calendar - This is the holder for all events, also contains the main calendar. Create this first.
  • Full Calendar Event - A unique event, needs to be created as a child to Full Calendar

Screen shots

Calendar View

Calendar view

Event view

Event view

Calendar settings

Event view

Event settings

Event view

Libraries used

  • Fullcalendar
  • Moment.js
  • Fancybox v2
  • Font Awesome

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-04-02