I've just updated to libraries 2.0 and found that views_timelinejs doesn't work - no timeline is rendered. I note the commit in the commit list that updates the libraries functions, and I'm using the same .module file as in this commit. But it doesn't seem to work for me. Is it possible that the commit didn't make the 7.x.-1.x-dev version of 4 April 2013?

Fantastic module, by the way.

Comments

operinko’s picture

Status: Active » Postponed (maintainer needs more info)

Hey,

The code was in the repository just fine (well, .info file still didn't care about the libraries version, even though it should have required 2.x).
Just tested the current -dev version, and it seems to work fine with Libraries 2.0 & 2.1, as well as with the current 2.x-dev version of Libraries.

Which fields have you set the timeline to use, could the issue be caused by a bug in a source plugin?
Do you get an empty TimelineJS box, or nothing?

bsarchive’s picture

The fields the timeline uses are basic content fields (title, body and a date field of course) and the filter criteria includes a few exposed filters for content type and taxonomy term.

I get nothing from the timeline in the page. The div for the timelinejs view are there and there's nothing in between them - just blank lines. It was working perfectly until I replaced the files for the libraries module (from v1 to v2) and then the timelines are gone!

Any thoughts?

cjtriplett’s picture

Priority: Normal » Major

I seem to be having the same issue.

The timeline is not rendered. The DIVs are in the page but there is nothing between.

The Views preview array appears to be error free. I have only minimum fields mapped and only 3 nodes in the view.

bsarchive’s picture

I think the problem is with the timeline height parameter.

With the 4 Apr 13 update you've introduced height and width parameters for the view style plug-in (great!).

I had a play and found the following:
- when you first update the module, any existing views have no values set for height and width (they didn't exist before) and these seems to give an output with the TimelineView divs but no content
- If you set the width parameters, either as % or px, and the height height parameters, as px, then you get the full timeline displaying correctly
- if you set the height parameters in % you get no divs and no content.

By the way, do you plan to add parameters to adjust for the timenav area height, related to the content area height?

operinko’s picture

I'm currently very pressed for time to be able to make any changes apart from minor bugfixes to the module, but there's a bunch of plans for making the Timelines more configurable.

orbistertius’s picture

Title: Doesn't work with Libraries API 2 » Doesn't work with more than one jQuery calls

I had the same problem. In the page I am using the timeline with a form using ajax and this ajax do not work with the timeline on the same page, if you install the module with the form after the timelinejs module you will not see the timeline content. There are alot of people with similar problems joining two jQuery calls from the same page. Would be nice if you can look at the code of the js files. Guess there is the problem.

WorldFallz’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

please try the new dev and open a new issue if you still have problems.