1.13 Opening certain document types in alternative page views
It is possible to open certain document types in alternative page views. If, for example, newspapers and newspaper volumes should always be opened in the calendar view (instead of the image view), this can be configured as follows:
config_viewer.xml
<viewer>
<docstructTargetPageTypes>
<Newspaper>calendar</Newspaper>
<NewspaperVolume>calendar</NewspaperVolume>
<MultiVolumeWork>toc</MultiVolumeWork>
<Periodical>toc</Periodical>
</docstructTargetPageTypes>
</viewer>
In this case, the usual logic for finding the appropriate page view when opening the record is ignored and the configured view is used.
Optionally, the default view for all structure types can be defined under _DEFAULT. This is used if no explicit configuration exists for the structure type in question.
The following views are possible:
  • image
  • object
  • toc
  • thumbs
  • preview
  • metadata
  • fulltext
  • fullscreen
  • calendar
Copy link