Re: [Koha-devel] Change orientation of label printing

2015-09-24 Thread akafortes
Hi barton, thank you for your answer, I thought of that method as well and my guess is that it'll work just fine if I print just a single label. I'm afraid though that this can't work if you want to print more than one labels at the same time. I'm just interested to do this just for spine labels,

[Koha-devel] Get the values from other fields

2015-09-24 Thread akafortes
Hello, is there a way to get the values of other fields? I want to create a plugin for a custom field I've added. When you click on that field, during cataloguing, I want to be able to get the values from two other fields. Something similar to the "callnumber.pl" plugin -- View this message in

Re: [Koha-devel] Call for News: September Newsletter

2015-09-24 Thread Wallner Romana Franziska
Dear Chad, this is our contribution for the upcoming Koha newsletter. Thank you for all your hard work. Best regards, Franziska The ElasticSearch implementation in Koha, sponsored by EBSCO, is making progress. The initial coding has been completed and the project is now in testing. A basic

Re: [Koha-devel] Call for News: September Newsletter

2015-09-24 Thread Wallner Romana Franziska
Apologies for Cross-Posting. Regards, Franziska Romana Franziska Wallner Senior Librarian The American University of Rome Via Pietro Roselli, 4 00153 Roma Italia Tel.:0039 06 58330919 FAX: 0039 06 58330992   A good library is a place, a palace where the lofty spirits of all nations and

Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-24 Thread Philippe Blouin
Like that, I doubt your userenv will contain anything. You first need to log in. But you could add the code in cataloguing/addbooks.pl for example. Somewhere after the my ( $template, $loggedinuser, $cookie ) = *get_template_and_user*( ... You could have something like warn "AKAFORTES

Re: [Koha-devel] git commit messages

2015-09-24 Thread Julian Maurice
Another post (http://chris.beams.io/posts/git-commit/) resumes itself to 7 rules: 1. Separate subject from body with a blank line 2. Limit the subject line to 50 characters 3. Capitalize the subject line 4. Do not end the subject line with a period 5. Use the imperative mood in the subject line

Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-24 Thread akafortes
Thank you very much That was just what I needed Based on the "EXAMPLE.pl", I just did this: use Modern::Perl; use C4::Auth; use C4::Output; my $builder= sub { my $params = shift; my $id = $params->{id}; my $user=C4::Context->userenv->{'surname'}; return qq| |; };

Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-24 Thread Michael Hafen
I think Philippe is probably right about userenv not being set in your plugin. If that is the case you could try calling get_template_and_user() ( which calls checkauth() ), or calling checkauth() directly, to build userenv for you. On Thu, Sep 24, 2015 at 6:06 AM, Philippe Blouin <

Re: [Koha-devel] Kohadevbox for testing Packages+Plack

2015-09-24 Thread Tomas Cohen Arazi
2015-09-23 6:57 GMT-03:00 Jonathan Druart < jonathan.dru...@bugs.koha-community.org>: > It works perfectly with a Jessie host. > Note that I am using vagrant 1.6.5 and ansible 1.7.2. > > Some questions: > 1/ > $ export SYNC_REPO=/home/katrina/kohaclone > Why this variable is not in the

Re: [Koha-devel] Change orientation of label printing

2015-09-24 Thread Barton Chittenden
On Thu, Sep 24, 2015 at 2:16 AM, akafortes wrote: > Hi barton, > thank you for your answer, I thought of that method as well and my guess is > that it'll work just fine if I print just a single label. I'm afraid though > that this can't work if you want to print more than