Sackgesicht VIP
Total posts: 1,636
04 Sep 2013 21:25

Problem with time entry:

Since there is now a calendar list, we would need a better entry form to encode time range for events. Maybe a time picker with 2 time fields (start/end time)

Example : April 12, 2013 / 8 am - 10 am

and a nice day view :

Last Modified: 02 Mar 2014


pepperstreet VIP
Total posts: 3,837
06 Sep 2013 08:47

FYI, some date and time inputs where mentioned in this topic and its comments. Updated topic intro with quick links.


Sergey
Total posts: 13,748
08 Sep 2013 03:23

Problem with time entry:

Fixed.

There are some problems witht his.

Right now in calendar template you may select only one field. This means you can only use range input to set start anв end date. But then there is no time input. It will require 2 fields to enter single date with time in each.

But this is minor problem. Right now we do not have day view by time. Right now day view is simple list of events.

How soon do you need it?


Sackgesicht VIP
Total posts: 1,636
08 Sep 2013 03:27

How soon do you need it?

yesterday ... :D

But i am thinking of a different solution now ... i have to do some testing first


Sergey
Total posts: 13,748
08 Sep 2013 03:31

Other question would that be a day view per plain or all plains?


pepperstreet VIP
Total posts: 3,837
08 Sep 2013 07:28

Right now we do not have day view by time. Right now day view is simple list of events.

FYI, DPcalendar has a nice day-view example.


Sackgesicht VIP
Total posts: 1,636
08 Sep 2013 18:31

FYI, DPcalendar has a nice day-view example.

Actually they are using the FullCalendar (as almost everyone)

Lets see if Sergeys Bootstrap calendar can become an alternative (not only in Cobalt) :D


Sergey
Total posts: 13,748
09 Sep 2013 00:41

Lets see if Sergeys Bootstrap calendar can become an alternative (not only in Cobalt)

It is only 6 month project but already has 120 stars and I have daily contributions. I think eventually it should become an alternative. When we add hours view for week and hours view for day.


Sergey
Total posts: 13,748
15 Sep 2013 02:09

Since Calendar template requires Date/Time field... it could easily take two fields. 1 for start, 1 for end.

This is the issue. In some cases one field is enough even with range input stile. In time based periods only 2 fields possible.

Thus we have to allow user to chose one parameter or two. I have few ideas how to do that. I only need some time.


pepperstreet VIP
Total posts: 3,837
17 Sep 2013 13:54

Thus we have to allow user to chose one parameter or two. I have few ideas how to do that. I only need some time.

BTW, where and how does Date & Time field store a "range"? IMHO, an event list or calendar needs always 2 dates. 1 start date for publish, 1 end date for expire. It also requires the core date override feature. If core dates are not used/overriden, a list view or upcoming events module can´t use the date information. I have to deal with core dates, since date&time is not available for section list sorting etc.


Sergey
Total posts: 13,748
18 Sep 2013 00:47

BTW, where and how does Date & Time field store a "range"?

It stores in js_res_record_values as MySQL datetime formated string in 2 different rows with value_index 0 and 1 where 0 is start and 1 is end.


pepperstreet VIP
Total posts: 3,837
22 Sep 2013 06:58

FYI, easy and funny options for time input. Or specifically for day view i.e. hourly appointments etc.

Clockface - Bootstrap visual clock-style

Timepicker - Bootstrap time input using your mouse or keyboards arrow keys


Sergey
Total posts: 13,748
22 Sep 2013 09:01

Clockface - Bootstrap visual clock-style

Bookmarked. Very nice idea!

Powered by Cobalt