Last updated August 14, 2012. Created by xamanu on August 27, 2009.
Edited by ifrik, steinmb, bekasu. Log in to edit this page.
Getting started
- Download the timeline module
- Download dependencies: Views
- Activate the module in admin/build/modules
- Visit admin/settings/timeline (Drupal6) or admin/config/services/timeline (Drupal7) to configure general timeline settings.
There is a standard view provided by the module: timeline/nodes
This shows all (published) nodes by their post date on the timeline view.
Installing the timeline locally
The timeline module works "out of the box" including the timeline library externally from the SIMILE servers. If you really want you can install them locally:
- Download the libraries module
- Download the timeline libraries:
- The easiest way to install the timeline module locally on your server is to download a prepackaged and patched version from http://github.com/xamanu/SIMILE-Timeline-libraries/tree/master (press download button)
- Or you can check out via Subversion the original files from the SIMILE servers:
svn export http://simile-widgets.googlecode.com/svn/timeline/tags/2.3.0/src/webapp/api timeline_js
svn export http://simile-widgets.googlecode.com/svn/ajax/tags/2.0-on-static-simile/... timeline_ajax
(Please note that you might want to patch the simile-ajax-bundle.js, see known issues in the INSTALL.TXT)
You'll need to create the folder in sites/all/libraries/simile_timeline and both of the timeline libraries (timeline_js and timeline_ajax) must be placed inside.
- Now you can install and activate the libraries module.
- When you visit Drupal 6 admin/settings/timeline or Drupal 7 admin/config/services/timeline you'll be able to select "Local folder" on the "location of Simile Timeline libraries" settings. If there is a problem please read the note beyond this setting.
Comments
Directory/file permissions
Simply putting the two libs into
./sites/all/librariesdidn't suffice for me. I had to additionally chown the libs folder to the webserver user (on Debian: www-data), and to recursively add read permissions:# chown -R www-data:www-data simile_timeline/
# chmod -R a+w simile_timeline/
# ls -lah
drwxrw-rw- 4 www-data www-data 4,0K 3. Dez 02:01 simile_timeline
# ls -lah simile_timeline/
drwxrw-rw- 5 www-data www-data 4,0K 3. Dez 02:01 timeline_ajax
drwxrw-rw- 6 www-data www-data 4,0K 3. Dez 02:01 timeline_js
Only after this the libraries were recogized at
./admin/settings/timeline.Kefk | CineDat | Fotonexus | Encycan | Encymus | Taxidi