flowing-calendar A nice customizable calendar

  1. Requirements
  2. Usage
  3. Resources

A simple-to-use calendar extension

Requirements

Yii 1.1 or above

Usage

  • Place the unzipped flowing-calendar folder into your extensions folder
  • Initialize the calendar widget where you like inside of a view file:
$this->widget('ext.flowing-calendar.FlowingCalendarWidget');
  • You can pass the widget arguments and specify a default month and year like so: 
$this->widget('ext.flowing-calendar.FlowingCalendarWidget', array("month"=>01, "year"=>1999));
  • You can also add custom styling to it by writing your own css file (using the included one as a guide) and specifying your new filename with the style argument like:
$this->widget('ext.flowing-calendar.FlowingCalendarWidget', array("month"=>01, "year"=>1999, "style"=>"newCss"));

By using multiple CSS files and specifying the style in the widget parameters, you can have multiple calendars each styled differently, all residing on the same page!

Resources

3 0
8 followers
1 744 downloads
Yii Version: 1.1
License: MIT
Category: Date and Time
Developed by: Erreth
Created on: Apr 27, 2012
Last updated: 11 years ago

Downloads

show all

Related Extensions