Skip to content

Primo VE customizations that are not part of the Alliance Central Package

Notifications You must be signed in to change notification settings

alliance-pcsg/ve-customizations

Repository files navigation

VE Customizations

This repository contains Primo VE customizations that are not part of the Alliance Central Package. You may copy from these files into the custom.js of a local package and modify as needed to work for your institution.

This customization adds a buffer to the beginning of the search terms displayed under the collapsed Advanced Search form, to prevent the field from being destroyed when a patron uses the backspace. See the video demonstration.

The intended behavior of Primo VE is to retain focus on the first action in a list only, even when users mouse over other actions. This customization moves focus to other actions on hover.

This customization will display Institution Zone and Network Zone MMS IDs, if available, at the end of the metadata list in a full display record. In addition to inserting the code in and institution's custom.js file and adding showMmsid to var app=angular.module..., implementers should add custom values to the showMmsidOptions section:

/* Custom options for labels, institution-specific trailing 4-digits for IZ MMS ID, and institution code  */
app.constant('showMmsidOptions', {
  "izLabel": "MMS ID (IZ)", /* Field value for Institution Zone MMS ID */
  "nzLabel": "MMS ID (NZ)", /* Field value for Network Zone MMS ID */
  "izSuffix": "xxxx", /* institution-specific trailing 4 digits*/
  "instCode":"01ALLIANCE_XXX" /* institution code, e.g. 01ALLIANCE_LCC*/
});

Please see this document to get your institution's 4-digit 'izSuffix' for editing the izSuffix value above.

Implementers may want to consider hiding the current MMS ID field in Alma, under View Configuration > Edit Full Display Details.

By default, menu links in the top nav bar to non-primo resources open in a new browser tab. This customization overrides that behavior, and opens these links in the same browser tab.

A demonstration of a custom action that opens a form in a modal window for submission to a remote server, rather than opening a link.

This customization adds a label to the chevron button for advanced searches, controlled by a custom row in the Search Tile Labels code table.

This customization adds Next Page and Previous Page buttons to the bottom of Collection Discovery pages. Use CSS to style them and hide the default "Load More Items" button.

About

Primo VE customizations that are not part of the Alliance Central Package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published