[OPEN-ILS-DEV] OPAC Hold link ver 1.2.3

2009-03-17 Thread Grant Johnson
Simple question,

Can I hide the Place Hold link for items that are not checked out in search 
results screen?
Or just remove it completely?


  Grant Johnson
  Systems Coordinator
  Robertson Library
  University of Prince Edward Island
  fgjohn...@upei.ca
  (902) 566-0630


Re: [OPEN-ILS-DEV] OPAC Hold link ver 1.2.3

2009-03-17 Thread Bill Ott

Grant Johnson said the following on 03/17/2009 01:01 PM:

Simple question,

Can I hide the Place Hold link for items that are not checked out in search 
results screen?
Or just remove it completely?
  


Nothing comes to mind to remove the link from titles based on copy 
attributes, but you can certainly hide it completely. 


Locate the following at or around line 470 of result_common.js

   unHideMe($n(r,'place_hold_span'));

Just comment it out by changing that to:
  //unHideMe($n(r,'place_hold_span'));




Re: [OPEN-ILS-DEV] OPAC Hold link ver 1.2.3

2009-03-17 Thread Jason Etheridge
 Can I hide the Place Hold link for items that are not checked out in
 search results screen?
 Or just remove it completely?

 Nothing comes to mind to remove the link from titles based on copy
 attributes, but you can certainly hide it completely.

Maybe tie it to the availability count?

-- 
Jason Etheridge
 | VP, Community Support and Advocacy
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  ja...@esilibrary.com
 | web:  http://www.esilibrary.com


Re: [OPEN-ILS-DEV] OPAC Hold link ver 1.2.3

2009-03-17 Thread Grant Johnson
The Payoad, when I look @ Firebug, indicates Available= 0 or Available = 1.
Could I check this somehow?

  Grant Johnson
  Systems Coordinator
  Robertson Library
  University of Prince Edward Island
  fgjohn...@upei.ca
  (902) 566-0630
 Jason Etheridge ja...@esilibrary.com 03/17/09 4:26 PM 
 Can I hide the Place Hold link for items that are not checked out in
 search results screen?
 Or just remove it completely?

 Nothing comes to mind to remove the link from titles based on copy
 attributes, but you can certainly hide it completely.

Maybe tie it to the availability count?

-- 
Jason Etheridge
 | VP, Community Support and Advocacy
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  ja...@esilibrary.com
 | web:  http://www.esilibrary.com



Re: [OPEN-ILS-DEV] Dumb question about circ setup

2009-03-17 Thread James Fournie
Hi Frances,

I believe there is a setting called legacy_script_support in
opensrf.xml which sets whether you wish to use the javascript or the
database rules.I haven't looked at the database rules extensively,
but I believe that you can only use either the database rules or the
javascripts but not both.

There is some mild documentation of the database rules here:
http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql

SITKA uses the javascripts extensively, as we have different policies
for each site -- however we would like to switch to the database rules
once a UI is built to give our pilot sites control over their own
policies.

~James Fournie
BC SITKA

On Mon, Mar 16, 2009 at 1:09 PM, Frances Dean McNamara
fdmcn...@uchicago.edu wrote:
 Actually, I think I see how to do what I want to do in some earlier example 
 of modifications to circ_duration.js

 But that does not seem to use these new matchpoint rules, so I guess my 
 question is can I do it just in the tables!

 Frances

 -Original Message-
 From: open-ils-dev-boun...@list.georgialibraries.org 
 [mailto:open-ils-dev-boun...@list.georgialibraries.org] On Behalf Of Frances 
 Dean McNamara
 Sent: Monday, March 16, 2009 2:56 PM
 To: Evergreen Development Discussion List
 Subject: [OPEN-ILS-DEV] Dumb question about circ setup

 We can circulate in our little test db for 1.4.0.2 and I made my org units 
 and some patron groups.

 I'd like to fool around with customizing some of the circ rules.  But I think 
 I'm missing a step.  I see the circ_duration.js  and I also see the tables, 
 where I've a couple of custom rows to

 config.rule_circ_duration

 and, what the heck in

 config.circ_matrix_matchpoint

 and config.circ_matrix_ruleset


 Seems like there's not a UI for the circ rule tables but I just thought I'd 
 try to get a long circ duration for my faculty user, and a shorter duration 
 for my student user by pointing to the duration rows I added.

 Do I have to modify .js scripts?  I was hoping my rules in the tables would 
 take effect and the system would fall back to the default rules if those did 
 not apply. I'm still getting the default duration of 14 days for everybody, 
 though.  Can someone point me in the direction of where to make my 
 customizations work?  Thanks.

 Frances McNamara
 University of Chicago