Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quexer69/yii-gcal-flow
This jQuery plug-in for the yii framwork provides a widget to show event list of your google calendar with configurable options and fully customizable HTML design template. With composer support.
https://github.com/quexer69/yii-gcal-flow
Last synced: about 2 months ago
JSON representation
This jQuery plug-in for the yii framwork provides a widget to show event list of your google calendar with configurable options and fully customizable HTML design template. With composer support.
- Host: GitHub
- URL: https://github.com/quexer69/yii-gcal-flow
- Owner: Quexer69
- License: mit
- Created: 2014-02-11T10:40:24.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T08:16:49.000Z (over 6 years ago)
- Last Synced: 2024-11-14T18:48:06.314Z (about 2 months ago)
- Language: PHP
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
yii-gcal-flow
=============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](http://getcomposer.org/doc/00-intro.md#installation-nix)`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**
```php
'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**
```php$this->widget('vendor.quexer69.yii-gcal-flow.GoogleCalendarWidget');
```
**Params Call of the GoogleCalendarWidget Widget**
```php$this->widget('GCalFlow',
array(
'calandarId' => 'YOUR_GOOGLE_CALENDAR_ID',
'maxitem' => 6,
'mode' => 'upstream', // [upcoming | updates]
'no_items_html' => 'No Events availible!', // 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)*
```php
'p3widgets' => array(
'params' => array(
'widgets' => array(
...
'GCalFlow.components.GoogleCalendarWidget' => 'Google Calendar List Widget'
),
...
```Documentation
=============* [The Definitive Guide to Phundament](https://github.com/phundament/app/wiki)
* [gCalFlow: jQuery Google Calendar Event List Plug-in](http://sugi.github.io/jquery-gcal-flow/)