I apologize if this is the wrong forum for this kind of query.

I've installed timeline and have it running successfully. However, it refuses to display a vertical timeline, despite being set to display as vertical for its view type. Additionally, the timeline always focuses on the current date, not the first event, despite being set to that in its control panel.

Lastly, despite setting header and footer sections for the view, they are not showing up on the page. You can find the timeline in question at http://www.markethousemuseum.com/timeline

Any support or pointers anyone can offer for any of these problems would be much appreciated. Thanks for making such an awesome module!

Comments

jgarbe’s picture

I went ahead and made a new timeline after updating to the current version, and things seem to be working now. As an interesting note, here's some code snippets:

Broken Timeline:

<div class="timeline-wrapper"><div id="Timeline" class="timeline" style="width: 400px; height: 400px"></div></div><script type="text/javascript">if (Drupal.jsEnabled) { $(document).ready(function() { createTimelineWidget("Timeline", Timeline.ARRAY, "Tue Jul 22 2008 10:06:46 GMT-0400", 0, [ Timeline.DateTime.DECADE, Timeline.DateTime.YEAR ], "/timeline/json?view=Timeline", "json"); }); }</script>
</div>

Working timeline:

<div class='view view-test-timeline'><div class='view-header view-header-test-timeline'><p>This is a test header</p>
</div>
<div class='view-content view-content-test-timeline'><div class="timeline-wrapper"><div id="test_timeline" class="timeline" style="width: 400px; height: 400px"></div></div><script type="text/javascript">if (Drupal.jsEnabled) { $(document).ready(function() { createTimelineWidget("test_timeline", Timeline.HORIZONTAL, "Sat Jun 27 1778 19:00:00 GMT-0500", 0, [ Timeline.DateTime.DECADE, Timeline.DateTime.YEAR ], "/timeline/json?view=test_timeline", "json"); }); }</script></div><div class='view-footer view-footer-test-timeline'><p>This is a test footer</p>
</div>
</div>

As you can see, for the broken timeline the view wasn't even loading, just the widget. Not sure if this is something I tweaked or what, but at least the issue seems to be resolved. Now I just need to style the events for a vertical timeline so they show up, and I'll be in business...the timeline in question is, again, http://www.markethousemuseum.com/timeline for the curious.

Thanks again for writing a great module!

xamanu’s picture

Status: Active » Closed (fixed)