Re: [Koha] Z39.50 pop-up box

2012-02-06 Thread Doug Dearden
Paul,

To restart Koha without restarting the server itself, I think you just restart 
Apache.

Sudo apache2ctl restart 

Best,

Doug

-Original Message-
From: koha-boun...@lists.katipo.co.nz [mailto:koha-boun...@lists.katipo.co.nz] 
On Behalf Of Paul
Sent: Monday, February 06, 2012 9:44 AM
To: Garry Collum; koha@lists.katipo.co.nz
Subject: Re: [Koha] Z39.50 pop-up box

At 06:39 PM 2/5/2012 -0500, Garry Collum wrote:
Ah!  My offlist reply was unintentional.  There is also an instance of the 
PopupZ3950 function in addbiblio.tt.

~/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt

Many thanks Garry.  For the record in 3.6.1 it is at 
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt

One question remains from my original query:  Is there a quick CLI command 
to restart Koha without rebooting the server?

The .tt didn't need it, but the .inc did (maybe a quirk of my install of 
memcached.)

Again tnx and br,
Paul 

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Z39.50 pop-up box

2012-02-06 Thread Chris Nighswonger
replying to the list too this time... :P


On Mon, Feb 6, 2012 at 1:10 PM, Chris Nighswonger 
cnighswon...@foundations.edu wrote:

 On Mon, Feb 6, 2012 at 11:43 AM, Paul pau...@aandc.org wrote:


 One question remains from my original query:  Is there a quick CLI
 command to restart Koha without rebooting the server?


 Koha is a web-app and as such does not run in the sense of a traditional
 app, therefore it does not require restarting as such.


 The .tt didn't need it, but the .inc did (maybe a quirk of my install of
 memcached.)


 You are probably being caught in the caching trap in general. In order
 for you changes to show up in the user's browser, either do a shift-F5
 refresh or otherwise clear the browser's cache.

 Your memcached cache may need flushing depending on what it is caching as
 well.

 Kind Regards,
 Chris

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Z39.50 pop-up box

2012-02-06 Thread Randall Rowe
To restart Apache as root or using sudo

 /etc/init.d/apache2 restart

 or

 /etc/init.d/apache2 stop
 /etc/init.d/apache2 start

Randy Rowe
 Lincoln City Libraries I.T.

 -Original Message-
 From: Paul pau...@aandc.org
 Sent 2/6/2012 10:43:30 AM
 To: Garry Collum gcol...@hotmail.com, koha@lists.katipo.co.nz
 Subject: Re: [Koha] Z39.50 pop-up box

At 06:39 PM 2/5/2012 -0500, Garry Collum wrote: Ah! My offlist reply was 
unintentional. There is also an instance of the PopupZ3950 function in 
addbiblio.tt.  
~/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt Many thanks 
Garry. For the record in 3.6.1 it is at 
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt
 One question remains from my original query: Is there a quick CLI command to 
restart Koha without rebooting the server? The .tt didn't need it, but the .inc 
did (maybe a quirk of my install of memcached.) Again tnx and br, Paul 
___ Koha mailing list 
http://koha-community.org Koha@lists.katipo.co.nz 
http://lists.katipo.co.nz/mailman/listinfo/koha ��___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Z39.50 pop-up box

2012-02-05 Thread Paul

[apologies for delay, I first sent this from a wrong email address]

At 01:07 PM 2/4/2012 -0500, Chris Nighswonger wrote:
On Sat, Feb 4, 2012 at 12:14 PM, Paul 
mailto:pau...@aandc.orgpau...@aandc.org wrote:
We have added a couple of additional Z39.50 sources and now, when we open 
(under cataloguing  add biblio) the Z39.50 search, the Search button and 
Cancel URL are off the bottom of the pop-up box. It is of course 
resizable by dragging the bottom edge, but ... [minor, repetitive comments 
from our volunteers.]

Can some kind person please tell me how to re-set the height of the pop-up?

Without digging into the code, it is probably set in the calling template 
from whence the popup is called.

Â
I have gone crosseyed grepping height in all sorts of .pl, .css, .tt, 
.js and greybox scripts, but no luck in resetting it so far.


I would suggest becoming familiar with Firebug. It is your best friend 
when working with presentation foo.


I work with Firebug fairly regularly - which is how I got as far as the 
greybox scripts, but nothing appears to define height in finite terms.  I 
found a 100% and tried a few different values to no avail; also a 
height=300 -- but 400 did not cure the problem.  I also tried adding a 
css bottom-margin, but no joy.  When I got to the yui scripts (all lines 
run together), I decided to write to the experts here :)


From past experience with web-gui interfaces, I *thought* (but am more 
than happy to be proven wrong) that browsers defaulted to enclose/show all 
elements and that height had to be specifically defined to override the 
default.  That's what I was looking for.


btw, is there a quick CLI to restart Koha without rebooting?

tnx and br - paul



Â
 If someone can point me in the right direction I'll be happy to try and 
file a bug + fix.



This is not a bug, per se. It will always happen when the list of servers 
expands, and thus will most likely be a moving target at best.


Kind Regards,
Chris


---
Maritime heritage and history, preservation and conservation,
research and education through the written word and the arts.
http://UltraMarine.ca, http://AandC.org and http://MarDoc.ca
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Z39.50 pop-up box

2012-02-05 Thread Paul

At 07:36 PM 2/4/2012 -0500, Owen Leonard wrote:

 the Search button and
 Cancel URL are off the bottom of the pop-up box. It is of course 
resizable

 by dragging the bottom edge, but ...

Are you saying there is no scrollbar, or do they not want to scroll?


Thanks for the reply. There is of course a scroll bar (I mentioned 
resizing only to say that the box dimensions were not statically 
fixed.)  But until I added the British and French national libraries (about 
17% and 11% of our holdings by country of publication) there was no need to 
scroll or resize.


It's no big thing perhaps; but from my tech point of view it should be 
simple to fix yet isn't (if there was a simple fix, I'm sure someone would 
have emailed it) and from an admin point of view efficiency is based on the 
number of operations required.  I first heard about this from a training 
session - new volunteers saw a marvelously formatted list of eight possible 
sources with no *apparent* actions to be taken or buttons to click.


Again, not a big thing -- it's just for the beauty of Koha.

tnx and br - paul 


___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Z39.50 pop-up box

2012-02-05 Thread Paul

At 09:04 AM 2/5/2012 -0500, I wrote:

 the Search button and
 Cancel URL are off the bottom of the pop-up box. It is of course 
resizable

 by dragging the bottom edge, but ...


A roller coaster ride.  With many thanks to a participant here who wrote to 
me off-list and pointed me to the intranet file 
cataloging-toolbar.inc.  For the record, line 38 has a height=450, now 
edited to height=530.  After multiple [mem]cache[d] clearing (and eventual 
reboot) of the server and on the client browsers, the popup is now resized 
when accessed from staff client home  cataloging  Z3950 Search.


But, when accessed from staff client home  Add Marc record  Z3950 Search, 
it's still the same old small size.  Maybe there's still some remnants 
cached somewhere, or maybe I'm still missing something in Koha.  Time will 
tell -- only my sanity is at risk :-)


With my thanks to all who have helped thus far,
Paul

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Z39.50 pop-up box

2012-02-05 Thread Garry Collum

Ah!  My offlist reply was unintentional.  There is also an instance of the 
PopupZ3950 function in addbiblio.tt.


~/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt



I think once you adjust this one, you will be fine.


Garry

 Date: Sun, 5 Feb 2012 18:24:45 -0500
 To: koha@lists.katipo.co.nz
 From: pau...@aandc.org
 Subject: Re: [Koha] Z39.50 pop-up box
 
 At 09:04 AM 2/5/2012 -0500, I wrote:
   the Search button and
   Cancel URL are off the bottom of the pop-up box. It is of course 
  resizable
   by dragging the bottom edge, but ...
 
 A roller coaster ride.  With many thanks to a participant here who wrote to 
 me off-list and pointed me to the intranet file 
 cataloging-toolbar.inc.  For the record, line 38 has a height=450, now 
 edited to height=530.  After multiple [mem]cache[d] clearing (and eventual 
 reboot) of the server and on the client browsers, the popup is now resized 
 when accessed from staff client home  cataloging  Z3950 Search.
 
 But, when accessed from staff client home  Add Marc record  Z3950 Search, 
 it's still the same old small size.  Maybe there's still some remnants 
 cached somewhere, or maybe I'm still missing something in Koha.  Time will 
 tell -- only my sanity is at risk :-)
 
 With my thanks to all who have helped thus far,
 Paul
 
 ___
 Koha mailing list  http://koha-community.org
 Koha@lists.katipo.co.nz
 http://lists.katipo.co.nz/mailman/listinfo/koha
  
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Z39.50 pop-up box

2012-02-04 Thread Paul
We have added a couple of additional Z39.50 sources and now, when we open 
(under cataloguing  add biblio) the Z39.50 search, the Search button and 
Cancel URL are off the bottom of the pop-up box. It is of course 
resizable by dragging the bottom edge, but ... [minor, repetitive comments 
from our volunteers.]


Can some kind person please tell me how to re-set the height of the pop-up?

I have gone crosseyed grepping height in all sorts of .pl, .css, .tt, .js 
and greybox scripts, but no luck in resetting it so far.  If someone can 
point me in the right direction I'll be happy to try and file a bug + fix.


Thanks - Paul

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Z39.50 pop-up box

2012-02-04 Thread Chris Nighswonger
On Sat, Feb 4, 2012 at 12:14 PM, Paul pau...@aandc.org wrote:

 We have added a couple of additional Z39.50 sources and now, when we open
 (under cataloguing  add biblio) the Z39.50 search, the Search button and
 Cancel URL are off the bottom of the pop-up box. It is of course
 resizable by dragging the bottom edge, but ... [minor, repetitive comments
 from our volunteers.]

 Can some kind person please tell me how to re-set the height of the pop-up?


Without digging into the code, it is probably set in the calling template
from whence the popup is called.


 I have gone crosseyed grepping height in all sorts of .pl, .css, .tt,
 .js and greybox scripts, but no luck in resetting it so far.


I would suggest becoming familiar with Firebug. It is your best friend when
working with presentation foo.


  If someone can point me in the right direction I'll be happy to try and
 file a bug + fix.


This is not a bug, per se. It will always happen when the list of servers
expands, and thus will most likely be a moving target at best.

Kind Regards,
Chris
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha