Skip to content
story_map is a Drupal module that collects Islandora Objects, and produces a map with "Story Pins" layered on top. Story Pins can be clicked to reveal a popup that displays an Image, Audio clip, or Video with a short description.
PHP JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
icheck
templates
views
LICENSE.txt
README.md
example.png
story_map.css
story_map.info
story_map.js
story_map.module
story_map_header_footer.css

README.md

story_map

This module was developed by Digital Echidna for the Vancouver Public Library's Story City project. It builds a map with clickable "Story Pins" whose locations are pulled from Location fields within Objects in Islandora.

Clicking a Story Pin will open a little popup that displays an Image, Audio clip, or Video with a short description. This data is also pulled from Islandora Objects.

Story City

A working example can be seen here: http://thisvancouver.vpl.ca/story-city

Additional Required modules and libraries

Libraries

Installation

  • Enable and configure the modules listed above.
  • Enable the story_map module.
  • Go to the view settings for Story City. /admin/structure/views/view/story_city/edit
  • Modify the field settings, and enter the Solr machine names for the fields you wish to pull. Remove the fields that don’t apply to your Islandora installation.
  • Modify the filter settings, and enter the Solr machine names for the fields you want to filter by.
  • To start, just use the bare minimum filters, and fields so that you’re able to see some results.

Custom Template and CSS

Out of the box, there is a template that can be applied to pages that have the map. You can re-enable it if you want to use a different template, or have different theming applied to the map. In vpl_story_city_preprocess_page() (vpl_story_city/vpl_story_city.module:346) - we’ve commented out our code that determines if the page has a map on it, and causes Drupal to use our module specific template. You could uncomment it, and modify the conditions to better suit your site. This should also be done here:

  • vpl_story_city_preprocess_html() (vpl_story_city.module: 364:)
  • vpl_story_city_theme_registry_alter() (vpl_story_city.module:373 )

Additional Configuration Options

Additional Configuration options are outlined here in the link below. Keep in mind, the module is called vpl_story_city in this documentation. https://docs.google.com/document/d/15ShkhdjPQBWeqihlaJY2DhHFmF1CniBsJzL1VuTRpfU/edit?usp=sharing

If you have any issues installing the module, please file an issue and we'll be in touch.

You can’t perform that action at this time.