quexer69/yii-gcal-flow 问题修复 & 功能扩展

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

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

quexer69/yii-gcal-flow

Composer 安装命令:

composer require quexer69/yii-gcal-flow

包简介

This jQuery plug-in for yii-framework provides a widget to show event list of your google calendar with configurable options and fully customizable HTML design template. With composer support.

README 文档

README

Version 3.3.0

This jQuery plug-in for yii-framework provides a widget to show event list of your google calendar with configurable options and fully customizable HTML design template. With composer support.

Quick-Start

Composer

If you have composer already installed

composer.phar require quexer69/yii-gcal-flow 3.*

or

add the package quexer69/yii-gcal-flow to your composer.json

Setup

[SETUP] edit in app/config/main.php

REQUIRED

'modules' => array(
        'gCalFlow' => array(
            'class' = 'vendor.quexer69.yii-gcal-flow.GoogleCalendarWidget',
        ),

Notice: If you define an alias for 'vendor.quexer69.yii-gcal-flow.GoogleCalendarWidget' would be more comfortable to call the widget.

i.e. 'aliases' => array( ... 'GCalFlow' => 'vendor.quexer69.yii-gcal-flow.GoogleCalendarWidget', ... ),

Run widget

Default Call of the slitSlider Widget

    $this->widget('vendor.quexer69.yii-gcal-flow.GoogleCalendarWidget');

Params Call of the GoogleCalendarWidget Widget

    $this->widget('GCalFlow',
           array(
               'calandarId'             => 'YOUR_GOOGLE_CALENDAR_ID',
               'maxitem'                => 6,
               'mode'                   => 'upstream',                          // [upcoming | updates]
               'no_items_html'          => '<span>No Events availible!</span>', // HTML for empty calendar
               'link_item_title'        => true,
               'link_item_description'  => false,
               'auto_scroll'            => true,
               'height'                 => '300px',                             // css height of the #gcf-container
               'width'                  => '100%',                              // css width of the #gcf-container
               'debug'                  => false,                               // turn on debug console
           )
    );

Or easily add through P3WidgetContainer (if 'phundament/p3widgets' installed)

(you need to add GoogleCalendarWidget to the P3Widgets)

'p3widgets' => array(
        'params' => array(
            'widgets' => array(
                ...
                'GCalFlow.components.GoogleCalendarWidget' => 'Google Calendar List Widget'
        ),
        ...

Documentation

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-02-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固