Personal tools
You are here: Home Products Date Box Widget
Navigation
Log in


Forgot your password?
New user?
 
Document Actions

Date Box Widget

RSS Feed Category: Fields and widgets — Other products by this author
DateBox is a Plone Archetype Field using JavaScript, DHTML and advanced Date parsing to generate the date based on the grammar passed. The purpose of DateBox is to simplify the date entering process using grammatical terms we are all familiar with.

Current release: Date Box Widget 1.0.2

Released Apr 10, 2006 — tested with Plone 2.1.2

Initial release of DateBox Widget Product.

List all releases… Full release announcement…

Experimental releases

There are no experimental releases available at the moment.

Project Description

Project resources

DateBox is a Plone Archetype Field  using JavaScript, DHTML and advanced Date parsing to generate the date based on the grammar passed. The purpose of DateBox is to simplify the date entering process using grammatical terms we are all familiar with.
A demo type is included. Set INSTALL_DEMO_TYPES = False in config.py to disable it.

In the demo try these:
    * Today
    * tod
    * tomorrow
    * tom
    * yesterday
    * 6
    * 6th
    * 6th October
    * 3rd of Feb
    * 10th Feb 2004
    * 14th of Februrary
    * 12 feb
    * 1 ja
    * next Friday
    * next fri
    * next m
    * last Monday
    * last mon
    * last m
    * 2004-8-8 (ISO)
    * 2004-04-04
    * 1/24/2005 (US)
    * 4/26

Usage:

   1. Install as usual in your Products folder 
   2. Install in your Plone Site with the Quickinstaller tool
   3. In your custom Archetype, add :  
        from Products.DateBox import DateBoxField
        from Products.DateBox import DateBoxWidget 
   4. Use like a regular field/widget in your Type's Schema. There is an included example.  
     

Full usage example::
    DateBoxField('test_datebox',
                 required = True,
                 widget = DateBoxWidget(lable = 'Test DateBox',
                                        description = 'Test DateBox Field',
                                        label = 'Test Datebox',
                                        i18n_domain = 'plone')
                 )

by Partecs Participatory Technologies last modified June 9, 2006 - 23:55

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by