Xataface Datepicker Module 0.1
jQuery Datepicker Widget for Xataface
Datepicker Module
Screen%20shot%202011-06-07%20at%2010.39.53%20AM.png?max_width=640

Synopsis

The Datepicker module adds a "datepicker" widget for use in your applications. This widget is appropriate for only date fields (not datetime or time). It essentially applies the jQuery-UI datepicker widget to a regular text field.

License

Xataface Datepicker Module
Copyright (c) 2011, Steve Hannah <shannah@sfu.ca>, All Rights Reserved

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA  02110-1301, USA.

Requirements

Xataface 1.4 or higher

Download

Packages

None yet

SVN

http://weblite.ca/svn/dataface/modules/datepicker/trunk

Installation

  1. Copy the datepicker directory into your modules directory. i.e.:
    modules/datepicker
    
  2. Add the following to the [_modules] section of your app's conf.ini
    modules_datepicker=modules/datepicker/datepicker.php
    
See also:
http://xataface.com/wiki/modules For more information about Xataface module development and installation.

Usage

Set any date field to use the datepicker widget for editing. E.g. field definition in the conf.ini file:

[mydatefield]
    widget:type=datepicker

Then your field will use the datepicker widget:

Screen%20shot%202011-06-07%20at%2010.39.53%20AM.png?max_width=640
See also:
http://xataface.com/wiki/fields.ini_file For more information about fields.ini file directives.
http://xataface.com/wiki/widget%3Atype For more information about the widget:type directive.

More Reading

TBA

Support

Xataface Forum

 All Data Structures Files Functions