create new tag
, view all tags

TimelinePluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on TimelinePlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Development discussion for TimelinePlugin

-- SvenDowideit - 22 Jul 2006

Cool, thanks Sven for sharing this Plugin!

-- PeterThoeny - 22 Jul 2006

I copied your example on the plugin page, but I get an error alert: "Caught exception: TypeError - Undefined value". Even though the xml data in the included topic is valid.

-- ArthurClemens - 23 Jul 2006

I forgot one big thing frown you need to apply the patch in http://develop.twiki.org/~develop/cgi-bin/view/Bugs/Item2617 if you are not running from svn

-- SvenDowideit - 23 Jul 2006

Hmm, I am running from svn.

-- ArthurClemens - 23 Jul 2006

I took the liberty forgot to ask for permission to update the plugin with a demonstration topic that should work out of the box, I will supply it as a patch for reviewal later (Arthur, you could try r11122, see if the demo works for you). Thanks for doing this plugin, Sven, it's very useful!

(.. yes, I am looking very much forward looking forward to inspecting the calendar / task queries, sounds promising :-))

-- SteffenPoulsen - 23 Jul 2006

No, still does not work for me.

-- ArthurClemens - 23 Jul 2006

I think it would be 'safer' to pack the retrieved data inside CDATA:


-- ArthurClemens - 23 Jul 2006

Hi, I have tried to install TimeLinePlugin and also got the patch mentioned by Sven but I still get the error "Caught exception: TypeError: xml has no properties"

-- NikhilMulley - 01 Sep 2006

and sometimes it is "TypeError: v1 has no properties"

-- NikhilMulley - 01 Sep 2006

If I load the same page in InternetExplorer, I get "Caught exception: 'null' is null or not an object"

Is this the part of the js code to be looked at ?

........ var resizeTimerID = null; TimelinePlugin.timelineOnResize = function() { if (resizeTimerID == null) { resizeTimerID = window.setTimeout(function() { resizeTimerID = null; TimelinePlugin.timelines.layout(); }, 500); } }

addLoadEvent(TimelinePlugin.timelineOnLoad); addResizeEvent(TimelinePlugin.timelineOnResize); ........

-- NikhilMulley - 01 Sep 2006

oh frown InternetExplorer - I'm looking into this at the moment, can you tell me - does it work in FireFox or Opera?

My testing with FF and Opera seem to work, but IE is seems to only work with static xml files, and not generated xml from a twiki SEARCH It also seems that once IE has had a problem, it will continue to fail, even on an xml file, requireing a reboot.

I'm updating the plugin to show a working demo based on the monet.xml file - I hope if you install the new version, that you will be able to see the new example on that page.

later I'll look into adding a JSON output type, because this is crazy.

-- SvenDowideit - 03 Sep 2006

Hi Sven, it does not work for me in Firefox either. >> it will continue to fail, even on an xml file, requireing a reboot.

Does reboot of my workstation of Windows XP Pro SP2 (IE 6.0) will solve the problem ?

Sure Sven, please let me know when you update the plugin, I will be glad to test it :).

Sure JSON output type is definitely good one :).


-- NikhilMulley - 04 Sep 2006

Nikhil, there is now a new version uploaded - please, can you try it, and report in graphic detail the different symptoms you get from the different browsers? failuer in FireFox seems surprising - what version?

-- SvenDowideit - 04 Sep 2006

Sure Sven, I will let you in a couple of minutes (downloading the plugin now..). Firefox version is 1.5.


-- NikhilMulley - 04 Sep 2006

Sven, it still the same..I have downloaded the plugin and even went onto restart the webserver too.

IE: Caught exception: 'null' is null or not an object

Firefoxv1.5.06: Caught exception: TypeError: v1 has no properties

-- NikhilMulley - 04 Sep 2006

Hi Sven,

just checking if you got a chance to look into the issue.

Regards, Nikhil

-- NikhilMulley - 15 Sep 2006

Re-synced plugin from SVN (to make it work with configure install).

-- SteffenPoulsen - 10 Apr 2007

Should I be seeing the text contained between

tags from an xml file like the monet.xml example, on the timeline screen? All I see is the "Timeline (c) SIMPLE" and the general dates...not the ones I specify.

-- DavidOldham - 07 Aug 2007

Third times the charm - meant to put for the "v1 has no properties" problem from:

<?xml version="1.0" encoding="%CHARSET%" ?>


<?xml version="1.0" ?>

-- PeterStephens - 20 Aug 2007

I just had a request from a co-worker on using this plugin to display booking intervals from a formbased booking-system (a TWikiApplication).

Did anybody possible do something similar to this already?

-- SteffenPoulsen - 11 Sep 2007

I made some small modifications to the plug in (.pm) and template file (.tmpl):

1. GMT fix

Included a bug fix for displaying the original input date/time in the information bubble while not adding GMT, see: http://simile.mit.edu/issues/browse/TIMELINE-70#action_11992

2. Better HTML output

The DIV attributes and TimelinePlugin parameters url, interval, date are not valid HTML. So I moved these parameters directly to the JavaScript in the template file, where they are filled by the plug in.

Please review: TimelinePluginModified20070925.zip

-- FrankSpangenberg - 25 Sep 2007

Frank you definitely should RequestAccessToDevelopBranch.

-- FranzJosefGigler - 25 Sep 2007

mmm, I can't use Frank's changes as they assume there is only one Timeline per topic - an artificial limitation that I've removed. Personally, I've always like that HTML lets me add application specific attributes - or are we XHTML strict?

-- SvenDowideit - 19 Mar 2008

Ok, I've finally found some time to work on it, and now it has JSON, and the ability to do more than one timeline per topic.

In testing, it seems that the JSON version of dynamic timeline event works more reliably on my IE7 and Safari 3 - anyone interested in testing for the others?

at this point it does rely on using the older onLoadEvent javascript to trigger the timeline - which won't work if you're using YUI, Dojo etc :/

-- SvenDowideit - 19 Mar 2008

Topic attachments
I Attachment History Action Size Date Who Comment
Compressed Zip archivezip TimelinePluginModified20070925.zip r1 manage 8.3 K 2007-09-25 - 08:16 FrankSpangenberg Modified: Date/time display in information bubble, HTML DIV attributes
Edit | Attach | Watch | Print version | History: r25 < r24 < r23 < r22 < r21 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r25 - 2008-03-19 - SvenDowideit
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.