[OPEN-ILS-GENERAL] Mobius Book Carousel Demoed at the EG Conference this year
Brent Mills
brent at hoodriverlibrary.org
Mon Jun 29 15:05:41 EDT 2015
Hi Jesse,
Yes. We've started using some of the auto-fill options and currently
have the "Recently Added" one available at http://catalog.sage.eou.edu
and on the KPAC at http://catalog.sage.eou.edu/eg/kpac/home
- Have you installed the bookbag_update.pl script and made sure the
description field in the list has one of the updatetypes?
- Any errors when running the script? I know I had to put the
Mobiusutil.pm file in to get ours working.
https://github.com/mcoia/mobius_evergreen/blob/master/Mobiusutil.pm.
Check the perl modules?
- Make sure the bookbag id
(https://catalog.sage.eou.edu/eg/opac/myopac/lists?item_page=1;bbid=*1383951*)
is in the book_carousel.tt2 file (bbags = [1383951]) like Blake mentioned.
- Shared on the bookbag list is set to "Yes"
- Make sure your eg.conf or apache config files have the custom template
directive in the virtual host entry in if you haven't already/and are
using them. We were just using redirects like hood.sage.eou.edu, so we
had to create a few more templates:
<Location /eg>
PerlAddVar OILSWebTemplatePath
"/openils/var/templates_new_library"
</Location>
I would maybe try setting up a static list with some items you directly
add and then seeing if that displays before running the script?
If you're doing it for the KPAC -- we had to duplicate
/openils/var/web/opac/skin/default/js/carousel/basic.js and change this
line
<https://github.com/mcoia/mobius_evergreen/blob/master/bookbag_update/var/web/opac/skin/default/js/carousel/basic.js#L98>
to direct to the KPAC record instead of the OPAC's. I just named it
basic_kpac.js and then pointed to that file in the KPAC custom
book_carousel.tt2
<https://github.com/mcoia/mobius_evergreen/blob/master/bookbag_update/var/web/templates/opac/parts/book_carousel.tt2#L38>
-Brent
On 6/29/15 11:20 AM, Blake Henderson wrote:
> Jesse,
>
> Did you happen to get the code from Github?
>
> https://github.com/mcoia/mobius_evergreen/tree/master/bookbag_update
>
> There is a folder structure there intended to match the folder
> structure in /openils
>
> /openils/var/web/opac/skin/default/js/carousel
> and
> /openils/var/web/templates/opac/parts
>
> The various files belong to various places. If you are using a
> template override, book_carousel.tt2 needs to be in the base template
> folder otherwise the template toolkit breaks.
>
> Be sure and edit book_carousel.tt2 and replace the numbers with your
> bookbag id numbers.
>
> If you are getting nothing, then you might need to inspect the
> resulting html page and look for
> <div id="hidden_bb_info" class="hide_me">
>
> Check to see if that div has any content. If not, the javascript stuff
> isn't working. If it does, then take a careful look at your CSS. The
> jquery plugin jcarousel is picky about the CSS. If you just use the
> CSS example from Github, it should work but it never hurts to double
> check.
>
> I would be happy to take a look at what you have.
>
>
> -Blake-
> Conducting Magic
> MOBIUS
> 573-234-4513
> 877-312-3517
> On 6/29/2015 11:56 AM, Jesse McCarty wrote:
>>
>> Hello All,
>>
>> Has anyone implemented the Book Carousel that Mobius demoed at the
>> conference this year?
>> (http://slides.mobiusconsortium.org/blake/bookcarousel/#/1). I have
>> been going over the slides trying to implement this on our test
>> server with no luck so far. I have placed the appropriate .tt2 files
>> in their locations and created lists with our circulation account,
>> but nothing is showing up either in the lists or on our OPAC. Are
>> there additional instructions online somewhere that I am missing?
>> Extra details: we have four libraries running on our system and at
>> this point we are only looking to implement it for one.
>>
>> Thanks!
>>
>> Jesse McCarty
>>
>> City of Burlington
>>
>> IT Technical Assistant
>>
>
--
Brent Mills
Systems Librarian | Sage Library System
email: brent at hoodriverlibrary.org
tickets: sagelib.org/support
desk/mobile: 541.387.5063 / 541.610.8384
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20150629/074c192b/attachment-0001.html>
More information about the Open-ils-general
mailing list