PDA

View Full Version : Calendar javascript


waily
26-05-04, 11:09 PM
Hi, Great Developer:

The calendar selector is much better to open 'on the same
window' rather than open a new one. How about reference
DCL's calendar picker ? I think it is fine and good enough.

http://dcl.sourceforge.net/demo.php

Thanks for your great works .

Waily Yang

cyberhorse
28-05-04, 10:48 AM
It looks and works really nice, but I doubt it will work in as many browsers as dotproject's calendar

waily
29-05-04, 12:10 AM
Well, it depends on how many different browsers dotproject want to 'show' .... :D.

However, how about add additional switch on configuration ? and let user able to pickup which style they want to use. Since user friendly is also dotproject's goal, am I right ? :wink:

cyberhorse
29-05-04, 02:15 PM
sounds like a good idea :)

idcarlos
18-06-04, 07:03 PM
Looks fine.
I have problems wit pop-up window and some firrewalls (norton) and pop-up killers.
Maybe its a solution for my problem.

ajdonnison
21-06-04, 10:59 AM
I will definitely take a look at this to see how appropriate it is. As to configurations for different browsers, forget it. It isn't going to happen. If we cannot get something that will work on all current-generation browsers then we will not use it. I can't spend my life trying to track down what is and isn't supported on every brand of browser on the market, nor will users want to have to tweak their settings to match their choice of browser. We already have problems with browsers that don't follow standard (or follow their own standards - you know who you are) and it is a nightmare trying to get a bulletproof and user friendly implementation that works on them, but doesn't break standards compliant browsers.

Now, before I am lambasted as being anti any particular browser, or once again I am told that certain browsers need to be treated differently because of market presence, let me state my position very clearly. If it doesn't follow standards laid down by W3C, or ECMAScript (i.e. the international standard that JavaScript now follows), it is not a good browser. If we get one of these monsters, and we do, then we will try to accomodate but we will not spend huge amounts of effort trying to compensate for a broken browser, and especially so if the fix breaks standards compliant browsers.

waily
08-08-05, 07:42 PM
How about consider the following calendar javascript ?

http://www.dynarch.com/projects/calendar/

Supported browsers
» Internet Explorer 5.0+ for Windows
» Mozilla, Netscape 7.x, Mozilla FireFox (any platform)
» Other Gecko-based browsers (any platform)
» Konqueror 3.2+ for Linux and Apple Safari for Macintosh
» Opera 7+ (any platform)

License

This program is available under the terms of the GNU Lesser General Public License version 2.1 or above.

pedroa
08-08-05, 08:51 PM
waily this is in my opinion the best js calendar around.

The only compatibility problem I see about this and dP is the fact that date boxes in the dP are disabled because the dates are handled through hidden elements (for formating reasons), and therefore you can not empty the date manually, so there are three workaround options:
1) add an extra button in dP for date reset.
2) or add that option to the js calendar.
3) enable the date boxes (potential date screwing so I will leave it aside)

No doubt the js calendar is better than dPs date selector, because of the pop up issue and because of the js improved functionality.

I will try for my personal reasons integrate this, shouldn't be too hard...and since I have allready click the Download link now there is no way stoping me.

Nice documentation too:
http://www.dynarch.com/demos/jscalendar/doc/html/reference.html#node_sec_3.1.3

Pedro A.

waily
23-12-05, 05:14 PM
Hi, Pedro A.:

Have you modifiy dotproject with jscalendar ?
Can you show us how to modify it by ourself ?

Thanks

JdupreeIT
18-04-06, 02:12 AM
I am also curious about progress on this.

Any update?

godot
08-10-07, 04:26 AM
I've done the work to integrate JsCalendar (with some modifications to it); tested in IE7 and FF - but I have no idea where to go with it now. I will post it for download on http://www.akua.com/ftp/dotproject-21rc2+jscalendar-gk.tbz .

I assume the next steps are to create and submit diffs?

- Greg

cyberhorse
09-10-07, 01:42 AM
diffs would be appreciated. One of the major issues with js calendar is translation. Otherwise I've implemented js calendar before a couple of times (once for me, once for a client), but it never got into core because it wasn't a generic solution - without translating via dp's translation handling it creates more problems than it solves.

godot
11-10-07, 07:40 AM
I'll look at making diffs and translations should I have time. Otherwise someone else feel free to step into those roles; as we only use english.

I'd also like to hook up the time setting, although I think that is less problematic than pop-ups elsewhere (department for example).

Update here: http://www.akua.com/ftp/dotproject-21rc2+jscalendar-gk-007.tbz

- Greg

Karen
11-10-07, 09:10 AM
In the meantime - if this is a realistic candidate for an add on module that people could upload if they want it - let me know and I can give you access to the dotMods project and post an outlne on the documentation site.

Thank you for the effort godot / Greg - much appreciated.

arcos
01-05-09, 01:34 PM
I'll look at making diffs and translations should I have time. Otherwise someone else feel free to step into those roles; as we only use english.

I'd also like to hook up the time setting, although I think that is less problematic than pop-ups elsewhere (department for example).

Update here: http://www.akua.com/ftp/dotproject-21rc2+jscalendar-gk-007.tbz

- Greg

I realize this thread is getting a little old, but what a nice js calendar implementation! I've waded through the source and selectively updated the relevant files in my installation, and the result is a real breath of fresh air. How tragic that it's been around for a few years, and I only just found it! :( I hated those HTML calendars. I dreaded having to select a date since the experience over a slower link was like swimming through oatmeal.

My only quibble is that I could not find code to update the 'Add Event' from /modules/calendar/addedit.php

Did you miss this one Greg, or did it just never make it into the implementation?

Sterling work. :D