|
|
Customers GenoPro version: 2.0.1.6
Last Login: Tuesday, November 10, 2015
Posts: 102,
Visits: 499
|
I have the following in the config file
<TimelineWrapEvents Desc="If unset then a track is used for only one event." T="Re-use timeline 'tracks' for non-overlapping events?" Default="N" O1="Y:yes" O2="N:no" Type="bool" /> But I still get this....  Am I doing something wrong or is this a bug? |
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Monday, June 9, 2025
Posts: 3,429,
Visits: 26,550
|
Hi Ronald,It is not a bug a such and you are not doing anything wrong. During the updates for GenoPro 2011 I switched to using the lastest release of the timeline widget, 2.3 (March 2009) in order to get it working with Chrome and to hopefully have a more up to date (and maybe maintained version). Unfortunately the folks at Simile-Widgets.org seem to have removed the wrapEvents functionality from the product, so although the option is still passed to the timeline code it is being ignored. I was unaware of this at the time and the documentation of the Timeline Widget is still very patchy. It also appears that events are being added from newest back to oldest whereas previously it was the other way round. If prefer the earlier version. I think I can hack the Timeline script to add back the option to not wrap events and have the dates in ascending order. The option to wrap events will still have the dates the other way around, simply because the code changes are too complex for me.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers GenoPro version: 2.0.1.6
Last Login: Tuesday, November 10, 2015
Posts: 102,
Visits: 499
|
Ron,
Ok. Now I understand, I tried to find the bug in your script but couldn't find it.... Let me know how far you can progress of removing the overlapping. I'll have a look at the code as well and see what I can do. I dislike the lines in the other way around as well. If you have any links where I can find the documentation for the timeline widget, it would be good. I have to admit that I am very busy with my work, but I'll keep you up to date on any progress. |
|
|
Customers GenoPro version: 2.0.1.6
Last Login: Tuesday, November 10, 2015
Posts: 102,
Visits: 499
|
Ron,
Forget about the documentation links. I checked out the latest source of timeline from SVN and found the docs. The work done on 2.3.1 and in the current trunk don't show any activity on what we want to have changed. Now I have something to do in my little extra spare time :-) Please keep me up to date on any changes you make, so the amount of merging is minimal. I guess you're not merging back into the MIT SVN tree :-) |
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Monday, June 9, 2025
Posts: 3,429,
Visits: 26,550
|
I have actually got some code working as required for no wrap and dates ascending. Only needed a couple of extras lines of code. I was puzzling how to get wrap with dates the other way but now decided to leave it as: if wrap req'd then dates will be descending. I'll publish in a day or two if I can fix some other odds and ends.
Nice to know there is another coder out there!
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Edited: Friday, February 18, 2011 by
genome
|
|
|
Customers GenoPro version: 2.0.1.6
Last Login: Tuesday, November 10, 2015
Posts: 102,
Visits: 499
|
Coder? :-) I only code in around 30 different languages (Java, JavaScript. C, C++, PHP, Python, Visual Basic and 25 more).
I have changed the narrative report completely to work in PHP, making a tight integration to Wordpress. This allows me to run it as part of my website ( http://boshuis.name/ ) and have it fully protected against reading by non-privileged individuals. Besides that I have multi-language build in into the website and hence have multiple copies of the report available on the website in multiple languages. I wanted to migrate the latest and greatest report to PHP/WordPress when I found out of some of the issues that I have with it. Since I want the report myself, I don't care about having to fix some stuff in order to make it work. (I'm doing that for my private changes, so I can easily contribute some of the changes to the generic code line.) I'm not sure how far you are. Just let me know if I can be of any help, and if so, for which part (in that case it might be best to share your code so we don't have to merge it later...) rgds, Ronald
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Monday, June 9, 2025
Posts: 3,429,
Visits: 26,550
|
rboshuis (19-Feb-2011) I only code in around 30 different languages (Java, JavaScript. C, C++, PHP, Python, Visual Basic and 25 more). I'm impressed, I don't think I can name 30 programming languages let alone work with them! My 'real' programming was back in the 70s with assembler and COBOL and then a bit of Unix shell scripting later. I can't get my head around C/C++ but enjoy the simplicity and immediacy of scripting. You have no doubt spotted that I have fixed the timeline issue to some extent in version 2011.02.20. I have amended timeline-bundle.js directly and added comments rather than changing their original sources. Once upon a time I did work out how to repackage their source files into a bundle but have now forgotten it! Changing the order was simply down to using their Simile Ajax routine 'getIterator' rather than 'getRevserseIterator' and then amending findFreeTrack to always pick a new track when required. If you want a challenge it would be nice to have the old way of wrapping tracks but with dates in order too.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers GenoPro version: 2.0.1.6
Last Login: Tuesday, November 10, 2015
Posts: 102,
Visits: 499
|
Ron,
Indeed I already found your new report (I actually already found a extremely small bug and solution in it :-) I've also changed the dutch dictionary to have the FMtCounter(s) tags included, and I've wrapped the reports in PHP (that way I can make sure that I dynamically can provide family members access, by just adding the to right group in Wordpress. Once the new versions of the reports are fully functional, I'll have a look how to get the timeline's right (in an easy way, so if there is a new version of Timeline, we don't have to make huge of changes again. |