LP1944755 Add ability to embed carousels on external pages user/mccanna/lp1944755_carousel_breakout
authorTerran McCanna <tmccanna@georgialibraries.org>
Thu, 23 Sep 2021 16:53:54 +0000 (12:53 -0400)
committerTerran McCanna <tmccanna@georgialibraries.org>
Thu, 23 Sep 2021 16:53:54 +0000 (12:53 -0400)
commitfc361eeb6759c7af074b14f8faa9b9c4d37bbb77
tree8c28b41360c66bf8648291b29c619b9ec9e9ac31
parent649d81b06ecee12324d3a4c604ea20451c3fea85
LP1944755 Add ability to embed carousels on external pages

This displays carousels on an otherwise blank page, allowing
libraries to very easily embed them on their web sites using iframes.

Example iframe code:
<iframe src="(my opac domain)/eg/opac/carousel?carousel_loc=4" title="Carousel"
width="80%" height="500px;" frameborder="0"></iframe>

The base_simple code could also be used by other future features
that are driven by Evergreen but that shouldn't display the headers and
footers.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/templates-bootstrap/opac/carousel.tt2 [new file with mode: 0644]
Open-ILS/src/templates-bootstrap/opac/parts/base_simple.tt2 [new file with mode: 0644]
Open-ILS/src/templates-bootstrap/opac/parts/misc_util.tt2