limit display length of last name? (holdslip)
Our library branch places hold items (to be picked up) in a public area for patrons to grab and check out for themselves. For privacy reasons, we'd like to limit the info displayed on the hold slips/receipts. Is there a way to limit the length (e.g. first 2 letters) of the "surname" displayed on these receipts AND is there a way to limit the display of units of the "cardnumber" (e.g. the LAST 4 numbers). I'm hoping it's a matter of simple HTML code for displaying pieces (or limited lengths) of database info that I've never needed to know about until now. Many thanks to whomever can provide a solution and/or other alternatives for "privatizing" the hold slips. We're currently typing this code (first 2 of last name and last 4 of card number) into a template that we print via Publisher. It'd be great if we could write/code it into Koha to do for us. Jason Adams, L.A. II Northwest Reno Library I believe this is what we'd like to change (where it says surname and cardnumber) - koha-tmpl/intranet-tmpl/prog/en/modules/circ/hold-transfer-slip.tmpl <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --> <title>Koha -- Circulation: Transfers</title> <!-- TMPL_INCLUDE NAME="doc-head-close-receipt.inc" --> </head> <body onload="window.print();"> <div id="holdslip"> <!-- TMPL_LOOP NAME="reservedata" --> <h5>Date: <!-- TMPL_VAR NAME="pulldate" --></h5> <h3 class="transferdata"> <!-- TMPL_IF NAME="transferrequired" -->Transfer to <!-- TMPL_ELSE -->Hold in <!-- /TMPL_IF --> <!-- TMPL_VAR Name="pickup_library" --></h3> <div id="patrondata"> <h3><!-- TMPL_VAR Name="surname" -->, <!-- TMPL_VAR Name="firstname" --> </h3> <ul> <li><!-- TMPL_VAR Name="cardnumber" --></li> ... ...
Hello everybody! First of all let me briefly introduce myself. I am a physicist with roughly ten years of experience in the ICT field, eight of which in international and multi-cultural environments. I have a good background in web applications and IT research with extensive experience in all aspects of free and open source software, plus I have worked in recent years in the areas of technical training and instructional design. During the last few weeks I started a project here in Turin, Italy that includes the creation of an ILS/OPAC for a foundation that bought a considerable number of books in Arabic. In order to build it up, Koha was chosen. I made the first attempts to install the software on my local machine (running Ubuntu 10.10), just to start testing. After reading several docs I ended up with Apache replying my requests with this message: System Maintenance The Koha Online Catalog is offline for system maintenance. We'll be back soon! If you have any questions, please contact the Site Administrator <mailto:> on the OPAC port, while I get: Unable to connect on the Intranet port. I see that this is not a new problem, so please forgive me if I've missed the message that solves it all. RTFM is an acceptable answer (just point me to some links, please :D ) Best regards, Stefano
Welcome Stefano! Are you installing Koha from source or with packages? However, it looks like a partial Apache configuration to me. As for the backend port, have you enabled the Listen 8080 directive in /etc/apache2/ports.conf ? In regard to the OPAC you could try to disable the default Apache site, if any, and most of all, *if not used* (make sure it isn't! check under /etc/apache2/sites-enabled/ ). So you could run sudo a2dissite 000-default (000-default stands for the default site name), I'm not sure it's your case though. I hope this could help. Regards, Fabio 2012/2/10 Stefano Barale <s.barale@erentil.net>
Hello everybody! First of all let me briefly introduce myself.
I am a physicist with roughly ten years of experience in the ICT field, eight of which in international and multi-cultural environments. I have a good background in web applications and IT research with extensive experience in all aspects of free and open source software, plus I have worked in recent years in the areas of technical training and instructional design.
During the last few weeks I started a project here in Turin, Italy that includes the creation of an ILS/OPAC for a foundation that bought a considerable number of books in Arabic. In order to build it up, Koha was chosen. I made the first attempts to install the software on my local machine (running Ubuntu 10.10), just to start testing. After reading several docs I ended up with Apache replying my requests with this message:
System Maintenance The Koha Online Catalog is offline for system maintenance. We'll be back soon! If you have any questions, please contact the Site Administrator <mailto:>
on the OPAC port, while I get:
Unable to connect
on the Intranet port. I see that this is not a new problem, so please forgive me if I've missed the message that solves it all. RTFM is an acceptable answer (just point me to some links, please :D ) Best regards, Stefano ______________________________**_________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/**mailman/listinfo/koha<http://lists.katipo.co.nz/mailman/listinfo/koha>
RTFM is an acceptable answer (just point me to some links, please :D )
If you're not using the packages, the INSTALL file which comes with Koha is the best place to look. I agree that this sounds like an Apache configuration issue, so I suggest focusing on those instructions. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
participants (4)
-
Adams, Jason -
Fabio Tiana -
Owen Leonard -
Stefano Barale