gcalendar A widget based on JS Calendar (version 2.1)

  1. Requirements
  2. Usage
  3. Demo Picture
  4. Resources
  5. Change Log
  6. Forum

This is a simple widget calendar based on JS Calendar

Requirements

Test on Yii 1.1.10

Usage

A calendar in Germany language:

<?php echo $form->labelEx($model,'effective_from'); ?>
<?php echo $form->textField($model,'date_of_birth',array('id'=>'effective_from')); ?>
   <?php 
        $this->widget('ext.gcalendar.GCalendar',array(
                                   'model' =>$model,
                                   'theme' => 'gray',
                                   'inputField'=>'effective_from', 
                                   'daFormat'=>'yyyy-mm-dd hh:ii',
                                   'languageCode' => 'ge',    
                               )
                     ); 
                ?>          
<?php echo $form->error($model,'effective_from'); ?>
  • model: model of form
  • inputField: id/name of textfield
  • theme: optional default='blue' , other support theme gray, light-cyan,zune
  • daFormat: optional the string format tell what it it :) (e.g yyyy=2012, mm=08, dd=20, hh:04, ii=17) now support three string delimit "-","/", & "./"
  • languageCode: optional (default='en') calendar language configuration

Demo Picture

Jcalendar

Resources

Home Page

Change Log

20, August 2012

  • Version 1

    Support for more language: en = english, fi=finish, sv=swedish, pt-br=brazilain portuguese, ge = german, no = norwegian,nl = dutch, es = spanish, pt-br = portuguese, fr = french, da = danish, hu = hungarian
    14, August 2012

  • Initial Release

    I have removed my initial version since there are some bug & CSS issue plz refer to version 1 instead

Forum

Join discussion

1 1
5 followers
906 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: pod2g
Created on: Aug 14, 2012
Last updated: 6 years ago

Downloads

show all

Related Extensions