Code Monkey home page Code Monkey logo

ve-customizations's Introduction

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.

ve-customizations's People

Contributors

jeremymcwilliams avatar tmarnell avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.