Forums / Cotonti / Extensions / UI date/time picker

Replaces common date/time selection controls with unified pretty style jQueryUI controls.

Macik
#1 2012-09-23 08:59

 

Description

Current date/time selection controls are presented as several separated dropdown select box. Separate for year, month, day for date and hour, minutes for time. The plugin hides this controls and bring to user unified one input field for date and one field for time respectively. In addition this fields supplied with easy-to-use dropdown UI controls to selec date/time in one-click.

Full info and instructions is here: http://macik.github.com/cot_ui_datetime/index.html

Download here: https://github.com/macik/cot_ui_datetime/zipball/master

Needs testing!

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
Uch
#2 2012-12-02 18:57

Is it possible to make it track new extrafields with datetime format?

Macik
#3 2012-12-02 21:02

Yes it is possible. But you need to specify special template for you field like this:

<div class="uidt_date">{$day} {$month} {$year}</div><div class="uidt_datetarget" style="display:inline;"></div><div class="uidt_time">{$hour} {$minute}</div><div class="uidt_timetarget" style="display:inline;"></div>

See it here:
extrafield defenition
extrafield parsed

 

By the way - you can load new version (1.5) with small fix in js code.

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
Uch
#4 2012-12-02 21:39

Thanx! Works fine!

Добавлено 1 месяца спустя:

I can not clear time inputs. Input value is returned if I wash it.

This post was edited by Uch (2013-01-14 21:10, 11 years ago)
Macik
#5 2013-01-15 13:05

Fixed. Test it, please.

https://github.com/macik/cot_ui_datetime/archive/v1.5.1.zip

 

Добавлено 8 месяца спустя:

New version available 1.6.0. (https://github.com/macik/cot_ui_datetime)

20130904-b7x-85kb.jpg

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
This post was edited by Macik (2013-09-03 23:28, 10 years ago)