Re: [OPEN-ILS-GENERAL] Added Content Reviews Visibility - Record Detail

2017-05-15 Thread Terran McCanna
Hi Josh,

I like what you've done there.

This is what I changed when we went to 2.7:
http://git.evergreen-ils.org/?p=evergreen/pines.git;a=commit;h=3491d923ae3267302a84aa1ae6245297d17171e9

Then I tweaked it again in 2.9:
http://git.evergreen-ils.org/?p=evergreen/pines.git;a=commit;h=db53981efcf7d6db0732573e546b76fe138a3600



Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


Re: [OPEN-ILS-GENERAL] Item Jacket Update After ISBN/UPC Change

2017-05-15 Thread Remington Steed
Michael,

No special configuration is required.  The main complicating factor is that 
this feature uses the Evergreen Apache Access Handler to verify that the user 
has staff permissions.  Is it possible you clicked the “clear cache” link after 
your client session had expired?  Try again immediately after logging into the 
staff client.  You can also try accessing the URL from your error message using 
a regular browser, then login with staff credentials when prompted, and you 
should see the expected success message.

If that doesn’t work, could you provide more information about your Evergreen 
installation?  For starters, did you start with version 2.9, or did you upgrade 
from a previous version?

Remington

--
Remington Steed
Electronic Resources Specialist
Hekman Library, Calvin College
http://library.calvin.edu/

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Michael Schell
Sent: Monday, May 15, 2017 2:17 PM
To: Evergreen Discussion Group 
Subject: Re: [OPEN-ILS-GENERAL] Item Jacket Update After ISBN/UPC Change

Ben,
When I click the clear cache link I get a "Not Found: The requested URL 
/opac/extras/ac/clearcache/all/r/359172 was not found on this server." error.  
Does this feature need to be configured somewhere?
Thanks,
-Michael

On 12 May 2017 at 13:44, Bob Wicksall 
> wrote:
Hello,

I'm not sure how long items remain in the cache but it can be cleared.  Display 
the item in question in the OPAC view of the staff client.  Look for a link 
titled "Clear AC Cache".

Bob Wicksall
Computer and Network Services Manager

Pioneer Library System
2557 State Rt. 21
Canandaigua, New York  14424


From: "Michael Schell" >
To: 
open-ils-general@list.georgialibraries.org
Sent: Friday, May 12, 2017 1:34:18 PM
Subject: [OPEN-ILS-GENERAL] Item Jacket Update After ISBN/UPC Change
Hello,
When an ISBN/UPC is changed in the marc record how long will it take for that 
change to be reflected in cover image in the catalogue?  And is there a way to 
make it immediate?
Thanks,

--
Michael Schell
Systems Administrator
Fort Erie Public Library
905-871-2546 x301
msch...@fepl.ca
www.fepl.ca




--
Michael Schell
Systems Administrator
Fort Erie Public Library
905-871-2546 x301
msch...@fepl.ca
www.fepl.ca


Re: [OPEN-ILS-GENERAL] Item Jacket Update After ISBN/UPC Change

2017-05-15 Thread Michael Schell
Thanks Ben,

That block is not in the eg_vhost.conf. I'll add it in and see what happens.

-Michael

On 15 May 2017 at 15:10, Ben Shum  wrote:

> Hi Michael,
>
> I think that the clearcache stuff is part of the eg_vhost.conf apache
> configuration file.
>
> There's a block like this in the stock install file:
>
> # Lock clearing cache down to STAFF_LOGIN
> 
> PerlAccessHandler OpenILS::WWW::AccessHandler
> PerlSetVar OILSAccessHandlerPermission "STAFF_LOGIN"
> 
>
> If you don't have an entry like that in your apache configuration, it
> might not be behaving properly.  As part of upgrades to newer versions
> of Evergreen, I've always compared my eg_vhost.conf and other config
> files with the stock release versions to make sure that any new
> feature pieces are integrated with my local changes.
>
> Since you're running a custom skin in your catalog (which looks very
> pretty!), perhaps this component is missing.
>
> Something to check first anyways, hope it points you in the right
> direction.
>
> -- Ben
>
> On Mon, May 15, 2017 at 2:17 PM, Michael Schell  wrote:
> > Ben,
> >
> > When I click the clear cache link I get a "Not Found: The requested URL
> > /opac/extras/ac/clearcache/all/r/359172 was not found on this server."
> > error.  Does this feature need to be configured somewhere?
> >
> > Thanks,
> >
> > -Michael
> >
> > On 12 May 2017 at 13:44, Bob Wicksall  wrote:
> >>
> >> Hello,
> >>
> >> I'm not sure how long items remain in the cache but it can be cleared.
> >> Display the item in question in the OPAC view of the staff client.
> Look for
> >> a link titled "Clear AC Cache".
> >>
> >> Bob Wicksall
> >> Computer and Network Services Manager
> >>
> >> Pioneer Library System
> >> 2557 State Rt. 21
> >> Canandaigua, New York  14424
> >>
> >>
> >> 
> >>
> >> From: "Michael Schell" 
> >> To: open-ils-general@list.georgialibraries.org
> >> Sent: Friday, May 12, 2017 1:34:18 PM
> >> Subject: [OPEN-ILS-GENERAL] Item Jacket Update After ISBN/UPC Change
> >>
> >> Hello,
> >>
> >> When an ISBN/UPC is changed in the marc record how long will it take for
> >> that change to be reflected in cover image in the catalogue?  And is
> there a
> >> way to make it immediate?
> >>
> >> Thanks,
> >>
> >> --
> >> Michael Schell
> >> Systems Administrator
> >> Fort Erie Public Library
> >> 905-871-2546 x301
> >> msch...@fepl.ca
> >> www.fepl.ca
> >>
> >
> >
> >
> > --
> > Michael Schell
> > Systems Administrator
> > Fort Erie Public Library
> > 905-871-2546 x301
> > msch...@fepl.ca
> > www.fepl.ca
>
>
>
> --
> Benjamin Shum
> Evergreener
>



-- 
Michael Schell
Systems Administrator
Fort Erie Public Library
905-871-2546 x301
msch...@fepl.ca
www.fepl.ca


Re: [OPEN-ILS-GENERAL] Item Jacket Update After ISBN/UPC Change

2017-05-15 Thread Ben Shum
Hi Michael,

I think that the clearcache stuff is part of the eg_vhost.conf apache
configuration file.

There's a block like this in the stock install file:

# Lock clearing cache down to STAFF_LOGIN

PerlAccessHandler OpenILS::WWW::AccessHandler
PerlSetVar OILSAccessHandlerPermission "STAFF_LOGIN"


If you don't have an entry like that in your apache configuration, it
might not be behaving properly.  As part of upgrades to newer versions
of Evergreen, I've always compared my eg_vhost.conf and other config
files with the stock release versions to make sure that any new
feature pieces are integrated with my local changes.

Since you're running a custom skin in your catalog (which looks very
pretty!), perhaps this component is missing.

Something to check first anyways, hope it points you in the right direction.

-- Ben

On Mon, May 15, 2017 at 2:17 PM, Michael Schell  wrote:
> Ben,
>
> When I click the clear cache link I get a "Not Found: The requested URL
> /opac/extras/ac/clearcache/all/r/359172 was not found on this server."
> error.  Does this feature need to be configured somewhere?
>
> Thanks,
>
> -Michael
>
> On 12 May 2017 at 13:44, Bob Wicksall  wrote:
>>
>> Hello,
>>
>> I'm not sure how long items remain in the cache but it can be cleared.
>> Display the item in question in the OPAC view of the staff client.  Look for
>> a link titled "Clear AC Cache".
>>
>> Bob Wicksall
>> Computer and Network Services Manager
>>
>> Pioneer Library System
>> 2557 State Rt. 21
>> Canandaigua, New York  14424
>>
>>
>> 
>>
>> From: "Michael Schell" 
>> To: open-ils-general@list.georgialibraries.org
>> Sent: Friday, May 12, 2017 1:34:18 PM
>> Subject: [OPEN-ILS-GENERAL] Item Jacket Update After ISBN/UPC Change
>>
>> Hello,
>>
>> When an ISBN/UPC is changed in the marc record how long will it take for
>> that change to be reflected in cover image in the catalogue?  And is there a
>> way to make it immediate?
>>
>> Thanks,
>>
>> --
>> Michael Schell
>> Systems Administrator
>> Fort Erie Public Library
>> 905-871-2546 x301
>> msch...@fepl.ca
>> www.fepl.ca
>>
>
>
>
> --
> Michael Schell
> Systems Administrator
> Fort Erie Public Library
> 905-871-2546 x301
> msch...@fepl.ca
> www.fepl.ca



-- 
Benjamin Shum
Evergreener


Re: [OPEN-ILS-GENERAL] Item Jacket Update After ISBN/UPC Change

2017-05-15 Thread Michael Schell
Ben,

When I click the clear cache link I get a "Not Found: The requested URL
/opac/extras/ac/clearcache/all/r/359172 was not found on this server."
error.  Does this feature need to be configured somewhere?

Thanks,

-Michael

On 12 May 2017 at 13:44, Bob Wicksall  wrote:

> Hello,
>
> I'm not sure how long items remain in the cache but it can be cleared.
> Display the item in question in the OPAC view of the staff client.  Look
> for a link titled "Clear AC Cache".
>
> Bob Wicksall
> Computer and Network Services Manager
>
> Pioneer Library System
> 2557 State Rt. 21
> Canandaigua, New York  14424
>
>
> --
>
> *From: *"Michael Schell" 
> *To: *open-ils-general@list.georgialibraries.org
> *Sent: *Friday, May 12, 2017 1:34:18 PM
> *Subject: *[OPEN-ILS-GENERAL] Item Jacket Update After ISBN/UPC Change
>
> Hello,
>
> When an ISBN/UPC is changed in the marc record how long will it take for
> that change to be reflected in cover image in the catalogue?  And is there
> a way to make it immediate?
>
> Thanks,
>
> --
> Michael Schell
> Systems Administrator
> Fort Erie Public Library
> 905-871-2546 x301 <(905)%20871-2546>
> msch...@fepl.ca
> www.fepl.ca
>
>


-- 
Michael Schell
Systems Administrator
Fort Erie Public Library
905-871-2546 x301
msch...@fepl.ca
www.fepl.ca


Re: [OPEN-ILS-GENERAL] Added Content Reviews Visibility - Record Detail

2017-05-15 Thread Josh Stompro
Hello Terran,

I wanted to try to get away from the expanders since only one type of added 
content was shown at once.  So we removed that expander and added the added 
content inline below the Content descriptions.
http://egcatalog.larl.org/eg/opac/record/32155?query=a%20clash%20of%20kings;qtype=keyword;locg=1;detail_record_view=0

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/stompro/added_content_inline_larl

I don’t notice any problems performance wise, but we are only using a few types 
of added content, all provided by Content Café, which delivers it all to us in 
one request and then caches it in memcache.  Since I know that we are only 
getting reviews and author notes, I set Record.pm and addedcontentinline.tt2 to 
only try to fetch those two to cut down on extra request that will never have 
content.

Could you send me a link to the commit you were referring to again, in the link 
you sent I’m not having any luck spotting which changes you made to show the 
expander open by default.

Josh Stompro - LARL IT Director

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Terran 
McCanna
Sent: Friday, May 12, 2017 10:48 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Added Content Reviews Visibility - Record Detail

Hi Josh,
Similar problem here - we have NoveList Select and I tweaked the logic a little 
to force the 'awards' section that it appears in to be always expanded when the 
page first loads. It's still clunky because now if you expand a different 
section and then go back to that section, it loses the NoveList added content, 
so I need to work on it some more. I'm curious to see what you come up with as 
a good solution. Here's what I have so far:

http://gapines.org/eg/opac/record/5602301?query=game%20of%20thrones;qtype=keyword;locg=1;detail_record_view=0

http://git.evergreen-ils.org/?p=evergreen/pines.git;a=blob;f=Open-ILS/src/templates/opac/parts/record/extras.tt2;h=b35cf5471dc50c566888a6c6bd499e05df6a0240;hb=HEAD

Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org