I know I'm doing something bone-headed. I have Drupal 5.1 installed with Date module (1.5), cck (1.5) and views (1.5).
Here's what I did:
1. Created a CCK type with a bunch of fields that included a CCK date type with a begin and end date.
2. Added some data
3. Created the view using timeline horizontal (and even tried vertical). I added the node title and field_date (CCK date type) fields. Then I added a filter for Node: Type Is One Of
4. Tested the created view but the test data do not show.
I'm not using the event module even though it is loaded.
Any suggestions?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2008-08-01_111324.jpg | 37.33 KB | Anonymous (not verified) |
Comments
Comment #1
jmiccolis commentedHi,
Could you try setting the view to another type, list or table, just to see if you get any results?
Also, does the page throw any javascript errors?
Comment #2
harriska2 commentedThanks for the trouble-shooting tips. I copied the view, renamed it, and made it a table. It words fine:
http://teachernotes.org/lesson_sequencer2
Here is the view with timeline:
http://teachernotes.org/lesson_sequencer
I have firebug working and it checks out OK with the little green check. I clicked around on firebug and don't see anything wrong.
Comment #3
Anonymous (not verified) commentedHello,
first of all, thanks for this module ! A simple way to use the Simile project is a very good thing.
I have a similar issue as the one above : No data is being shown.
Here is what I get with the "nodes timeline" view :
http://www.shadows.fr/timeline/nodes
Not quite what I expected. ;-)
Here is the source code :
I have the same issue if I use a bloc instead of a page. I also tried to change the date feed type, but I still have the issue.
The widget url is the default adress : sites/all/modules/timeline/api/timeline-api.js
Any idea of what could be wrong ?
EDIT : IE seems to find an issue in the page : see screenshot attached
Comment #4
Anonymous (not verified) commentedThe issue seems to be related to the timeline-api.js file : if I set the "Widget URL" to http://simile.mit.edu/timeline/api/timeline-api.js, everything is ok.
But if I used the file I host, http://www.shadows.fr/sites/all/modules/timeline/api/timeline-api.js , nothing is shown.
The weird thing is, both files really seem to be the same... Any idea?
Comment #5
intervalle commentedbe shure that you have grapped the 1.2 version of "timeline".
svn-checkout: http://simile.mit.edu/repository/timeline/tags/1.2/
The trunk-version of "timeline" is 2.x.
perhabs that could solve your problem?!
Comment #6
Anonymous (not verified) commentedThanks for your help, I will try this and see if it can be helpful !
Comment #7
Anonymous (not verified) commentedIt works !
Actually I'm not sure about what the issue was... It seems that updating to drupal 5.10 might have helped too (? again, not sure of what I did, I tried to tweak several parameters in timelines too).
Thanks ! ;-)
Comment #8
mgenovese commentedI ran into this same problem. I think the issue is .htaccess, and the inability of the module to grab the .js source code from the site/all/modules path. If I move the "api" directory up into the Drupal root directory (and then redirect the Widget URL as such), it works fine.
By the way, it is important to use the 1.2 version of Timeline. The latest 2.x version on the MIT website doesn't seem to work with this version of the Drupal Timeline module.
Comment #9
aasarava commentedJust thought I'd share this tip, for anyone who's pulling their hair out trying to figure out why things don't work: Be sure to check the permissions on your files. In particular, timeline.js and timeline.css. The same goes for the api directory and the subdirectories and files in api/, including timeline-api.js.
When in doubt, see if you can access timeline-api.js via your Web browser by typing in the full URL for it. Use the path that you provided to the timeline module in the advanced settings. For example:
http://(www.your-site-name-here.com)/sites/all/modules/timeline/api/timeline-api.js
Comment #10
Anonymous (not verified) commentedThanks for the tip, I will check this asap on my own website !
Comment #11
jmiccolis commented@harriska2 Have any of the tips in this thread helped, or does your timeline still refuse to show?
Comment #12
harriska2 commentedI've been out of the loop for a while. I'll try to check it in a couple of weeks when I upgrade everything.
Comment #13
B-Dot commentedI just had the problem outlined here and now suspect that there may indeed have something wrong with the permissions on many of the files I downloaded from the google code repo, as aasarava mentions above.
However, I found that the package provided here worked perfectly for me:
http://www.miccolis.net/random/timeline-1-2.tar.gz
Hope this helps anyone else having the same problem.
Comment #14
ericpughOh. I didn't see that link in the README. Thank you, B-Dot. I was having a terrible time trying to get the correct files from Google code.
And thanks to contributors for this GREAT module.
Eric
Comment #15
GreyHawk commentedI'm having this problem now. :/
Verified that I'm using the 1.2 version of the code, on Drupal 6.12, and I can browse to the Timeline .js code without issue.
What information would be useful to help debug this? I'd really love to get the module to work.
Comment #16
hdavis commentedHello,
I am trying to get Timeline to work for 6.12.
I am trying to show all nodes published on the time line.
I am at a point where when I filter if I select unpublished nodes it displays the unpublished nodes with out an error in the timeline.
I if I don't filter it, or select "published" nodes I get an error stating:
"Caught Exception:Syntax Error: untermintaed string literal" When I view the page.
Any thoughts on this?
Comment #17
Radiating Gnome commentedI'm getting the same error. 6.12 version of Drupal, 1.2 version of timeline, and it's just not working.
The frustrating thing is that I had it working about two weeks ago, before the most recent update, and now it's not working. I wish I had not been too stupid to save a copy of the previous version of the module.
Anyone have access to the previous dev version ofthe 6.12 branch?
Comment #18
lelizondo commentedsubscribe. i'm also having the same problem, using 6.x
Comment #19
jmiccolis commentedAs a warning: We do not have a stable 6.x release & the 6.x-dev branch is a moving target. the latest changes may require you to revisit your views and clear drupal's caches.
Comment #20
GreyHawk commented#19 jmicolis -- good to know, thanks.
Side note: we were able to create basic timelines using the Exhibit module, tho there appears to be some issues with getting all our data to show; that module's approach is different, but incorporates a way to bring timeline (and other Exhibit) .js code local -- perhaps there's a point where the two efforts could be combined?
Particularly if your implementation of Timeline gives more flexibility, and could be called from Exhibit if both are installed...?
Comment #21
kuson commentedhdavis, I'm getting the same (on Drupal 6.13 using Timeline 1.2) error ""Caught Exception:Syntax..." as you mentioned ifputting on the PUBLISH filter; but if I add other filters such as node type, the errors seem to disappear; Hope the bug can be fixed soon anyway ;)
Comment #22
xamanu commentedplease test it with the newest 2.x branch of the timeline module.
Comment #23
xamanu commentedMarking this issue as fixed. Too many issues in one message. Tested the latest "Caught Exception:Syntax..." problem myself and I can not rebuild the error. Everything seems to be fixed.