Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Exposes Islandora objects to This module makes it possible to use the alias-creating tools of Drupal's Pathauto with Islandora objects. Use this module if you want to change the appearance of the automatically generated links to Islandora objects.

The default Islandora URLs for objects follow this path structure: http://localhost:8000/islandora/object/islandora%3Aroot

Dependencies

Downloads

Release Notes and Downloads

Latest Code on GitHub

Installation

Install as usual, see this for further information.

...

Configure the path patterns using the usual Drupal Pathauto interface, at Administration » Configuration » Search and Metadata » URL Aliases » Patterns (admin/config/search/path/patterns).

Below is an example of setting up a custom pattern for Audio Content Model objects, and a default pattern which would be applied to all other objects.

You can leave the "All Islandora objects" pattern blank if you do not want to create aliases for all other Islandora objects.

...

A. With pathauto alone, datastreams are NOT accessible at [object alias]/datastream/DSID. To get this functionality, enable the Drupal moodule module Sub-pathauto and configure the maximum depth of sub-paths to be at least 3.

...

A. Drupal aliases don't negate internal paths like islandora/object/PID. If you want the original islandora URLs to resolve (i.e. redirect) to the aliases, then enable Global Redirect.

Q. Where 'd did the colon in my PID go?

A. By default, Pathauto removes punctuation such as the colon (:) from paths before creating aliases. This will result in PIDs that look like islandora123; if this is undesirable then configure the Pathauto setting under "punctuation" at admin/config/search/path/settings to not remove the colon.

...