User Tools

Site Tools


admin:settings:carousel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
admin:settings:carousel [2019/09/10 21:25] – ↷ Page moved from admin:setetings:carousel to admin:settings:carousel tmccannaadmin:settings:carousel [2023/06/30 20:19] (current) tmccanna
Line 1: Line 1:
-====== Carousel Widget ======+====== Carousel Widgets ======
  
-The [[https://wordpress.org/plugins/library-bookshelves|Library Bookshelves]] widget for Wordpress sites allows you to create one or more carousels (aka, slidersof selected items.+PINES creates automated New Books carousels for each library location and system. These appear on the public catalog's main page and can be loaded via an iframe in an external site (see below). 
  
-After installing the widget on your site, configure it for use with PINES: +Libraries can also build custom carousels by creating a shared record bucket and submitting a Help Desk ticket for assistance with the record bucket's ID
-  - In the widget, go to Bookshelves > Settings. +
-  - Change the Catalog System option to "Evergreen (Record)"+
-  - Change the Image CDN option to "Evergreen (Record)".+
  
-{{ :admin:setetings:librarybookshelveswidget.png?600 |}}+===== Load the New Books Carousel with an iframe =====
  
-Thenadd the Bib IDs of the items you wish to highlight. (You can find the Bib IDs by looking at the record number in the item's catalog page URL, or the 001 field in the MARC record, or by running reports of new items that display the item IDs.)+Beginning with the January 2022 upgrade, you can load the automatically generated "New Book" carousels for either a branch or system into your own web page. 
  
-**Example of a page with the widget installed:**+  - Go to https://gapines.org and use the New Library Materials dropdown to select carousel. 
 +  - Look at the browser's address bar and make a note of the carousel location ID. For example, if the address is https://gapines.org/eg/opac/home?carousel_loc=19 then the number you want is 19. (This is the same as the ID of the branch or system.)  
 +  - Edit the HTML of your library's web page to embed the custom URL of the carousel in an iframe (some content management systems might offer additional options). For example: 
 + 
 +|<nowiki><iframe src="https://gapines.org/eg/opac/carousel?carousel_loc=19" title="Carousel" 
 +width="100%" height="300" frameborder="0" scrolling="no"></iframe></nowiki>
 + 
 +<note>Please note that if you create additional carousels, they will all show up on the same page. There is not a way to split them onto individual pages at this time. </note> 
 + 
 + 
 +===== Carousel API ===== 
 + 
 +You can also retrieve the contents of a specific carousel in JSON format by passing the carousel ID as a parameter as in this example (where 330 is the carousel ID): 
 + 
 +https://gapines.org/osrf-gateway-v1?service=open-ils.actor&method=open-ils.actor.carousel.get_contents&param=330
  
-{{ :admin:setetings:sliders.jpg?600 |}} 
admin/settings/carousel.1568150714.txt.gz · Last modified: 2019/09/10 21:25 by tmccanna