Currently 6.x-2.x-dev doesn't seem to support more then one timeline on the same page (e.g. page + block, both containing timelines).

Comments

ademarco’s picture

StatusFileSize
new3.83 KB

The following patch would solve the problem.

xamanu’s picture

Status: Active » Needs review

Thank you! I read very fast through your patch, and it looks good. Let me review it thoroughly and I'll commit it to the module.

ademarco’s picture

Status: Needs review » Needs work

I've just noticed that I include timeline-api.js for each timeline printed on the page, having this kind of situation in head tag:

<script type="text/javascript" src="http://static.simile.mit.edu/timeline/api-2.3.0/timeline-api.js?bundle=true"></script>
<script type="text/javascript" src="http://static.simile.mit.edu/timeline/api-2.3.0/timeline-api.js?bundle=true"></script>
<script type="text/javascript" src="http://static.simile.mit.edu/timeline/api-2.3.0/timeline-api.js?bundle=true"></script>
<script type="text/javascript" src="http://static.simile.mit.edu/timeline/api-2.3.0/timeline-api.js?bundle=true"></script>

<script type="text/javascript" src="http://static.simile.mit.edu/timeline/api-2.3.0/timeline-api.js?bundle=true"></script>
<script type="text/javascript" src="http://static.simile.mit.edu/timeline/api-2.3.0/timeline-api.js?bundle=true"></script>

I'll modify the patch to fix that.

ademarco’s picture

Status: Needs work » Needs review
StatusFileSize
new6.26 KB

Here is the modified patch, it should be applied *INSTEAD* of the one proposed in #1 against 6.x-2.x-dev.

xamanu’s picture

Status: Needs review » Fixed

Thank you antoniodemarco!
I just committed it to the DRUPAL-6--2 branch. The changes are going to be part of the 2.2 release, for now it is available within the dev snapshot.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.