Active
Project:
Timeline
Version:
7.x-3.x-dev
Component:
Compatibility
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2012 at 14:50 UTC
Updated:
1 May 2012 at 23:23 UTC
I'm using Panels (7.x-3.0-alpha3), Timeline (7.x-3.x-dev), and Views (7.x-3.0-rc3) with Drupal 7.12. I created a Timeline, which works great when displayed as a Page. However, what I would like to do is add a Timeline block to my homepage, which is, of course, built with Panels.
When I try to add the Timeline block (as content) to a region on my Homepage Panel, it is not an option. It does show under my Blocks administration page and I can add it to my site this way.
Does Timeline work with Panels? Am I missing a step?
Comments
Comment #1
allio_froggio commentedI got this to work by using an attachment with a block. When I display the timeline as a page, there's no issue. But when I display it in a block (using panels), I get a series of errors like this:
Notice: Undefined index: granularity in theme_date_display_combination() (line 147 of ).
Notice: Undefined variable: class in include() (line 8 of ).
Notice: Undefined variable: width in include() (line 8 of ).
Notice: Undefined variable: class in include() (line 10 of ).
Notice: Undefined variable: timeline_theme in include() (line 10 of ).
Notice: Undefined variable: height in include() (line 10 of ).
Notice: Undefined variable: class in include() (line 8 of ).
Notice: Undefined variable: width in include() (line 8 of ).
Notice: Undefined variable: class in include() (line 10 of ).
Notice: Undefined variable: timeline_theme in include() (line 10 of ).
Notice: Undefined variable: height in include() (line 10 of ).
Notice: Undefined variable: class in include() (line 8 of ).
Notice: Undefined variable: width in include() (line 8 of ).
Notice: Undefined variable: class in include() (line 10 of ).
Notice: Undefined variable: timeline_theme in include() (line 10 of ).
Notice: Undefined variable: height in include() (line 10 of ).
Any ideas?
Comment #2
cabplan commentedSo I really do not have an answer to your issue but I have a question for you that maybe you can help me with, How did you get the timeline working? I have downloaded and activated: Panels (7.x-3.2), Timeline (7.x-3.x-dev), and Views (7.x-3.0-rc3). I also downloaded the installed both js files into the libraries simile_timeline directory. I created a new content type called Timeline Event, that has a Date field, and I created a View called Timeline View but when I try to edit the settings of the Timeline, in the field usage section I cannot choose a Start Date, even after I select my Date field. Can you please help me on how you got this module to work, my view has a ton of errors:
and at the bottom it says: There is no data available to show on the timeline
I have two pieces of Timeline event content. Can anyone please help me. Sorry for busting in on your issue thread but i thought you could possibly help me.
Comment #3
cabplan commentedOk so I found out how to get the Start date to let me actually select something, I have to add "Post Date" field to the fields, but then I can only choose Post Date in the Start date field, I cannot choose my "From" field I created. I do not get an error anymore but the page is just blank,
I downloaded and install CCK 7.x dev but that did not do anything either, I get this error on the Content page:
Warning: file_get_contents(/sites/all/libraries/simile_timeline/timeline_js/timeline-api.js) [function.file-get-contents]: failed to open stream: No such file or directory in drupal_build_js_cache() (line 4817 of /home/content/10/7715610/html/tonyvalle/includes/common.inc).Any help would be most appreciated.
Comment #4
allio_froggio commentedFirst, is your issue specifically with Panels or just displaying the timeline view anywhere on your site?
So, I'm not sure if I did any of this the correct way, but, here's what I did (as best as I can remember).
Now, here are things I didn't do:
Things that are still an issue:
Comment #5
jindustry commentedcabplan's problem seems seems like it might be adressed with this fix: http://drupal.org/node/1512100.