Foren / Cotonti / Extensions / UI date/time picker

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

Macik
#1 23. September 2012, 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 2. Dezember 2012, 18:57

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

Macik
#3 2. Dezember 2012, 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 2. Dezember 2012, 21:39

Thanx! Works fine!

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

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


Dieser Beitrag wurde von Uch (am 14. Januar 2013, 21:10, vor 11 Jahre) bearbeitet
Macik
#5 15. Januar 2013, 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

Dieser Beitrag wurde von Macik (am 3. September 2013, 23:28, vor 10 Jahre) bearbeitet