Can someone tell me how to use this script. I know it cannot be used from the command line and I have tried to run it from with the browser. Any help help would be great. Thanks Ed Edward J. Roche Network Administrator Solanco School District 717.786.2151 x2437 "At the End of the Day, Did You Play to Win or Not to Lose?"
Roche III, Edward wrote:
Can someone tell me how to use this script. I know it cannot be used from the command line and I have tried to run it from with the browser. Any help help would be great.
1. search for an item in the catalogue, taking you to /cgi-bin/koha/catalogue/search.pl 2. click on one of the items in the results area that has a barcode, taking you to /cgi-bin/koha/catalogue/detail.pl 3. click on the barcode in the barcode column, taking you to /cgi-bin/koha/catalogue/moredetail.pl 4. the updateitem.pl script is called when you click on one of the buttons labeled "Set Status", "Withdraw" or "Update" HTHH cheers rickw -- _________________________________ Rick Welykochy || Praxis Services You should be open minded, but not so open minded that your brain falls out. -- Richard Dawkins
But I need to do it for about 9000 items. Is there a way to run it for all the items at once? If not, that is problem. What if someone wants to change their barcodes from their previous software (like us) they will need to do this process for each?!?!? There has to be a way to mass import changes to the items table then have it makes the changes to the other tables and the zebra db as well. Edward Roche Technology Support/Network Admin Solanco School District edward_roche@solanco.k12.pa.us 717.786.2151 The greatest mistake you can make in life is to continually be afraid you will make one. Elbert Hubbard -----Original Message----- From: Rick Welykochy [mailto:rick@praxis.com.au] Sent: Fri 6/26/2009 11:34 PM To: Roche III, Edward Cc: koha-devel@lists.koha.org Subject: Re: [Koha-devel] updateitem.pl Roche III, Edward wrote:
Can someone tell me how to use this script. I know it cannot be used from the command line and I have tried to run it from with the browser. Any help help would be great.
1. search for an item in the catalogue, taking you to /cgi-bin/koha/catalogue/search.pl 2. click on one of the items in the results area that has a barcode, taking you to /cgi-bin/koha/catalogue/detail.pl 3. click on the barcode in the barcode column, taking you to /cgi-bin/koha/catalogue/moredetail.pl 4. the updateitem.pl script is called when you click on one of the buttons labeled "Set Status", "Withdraw" or "Update" HTHH cheers rickw -- _________________________________ Rick Welykochy || Praxis Services You should be open minded, but not so open minded that your brain falls out. -- Richard Dawkins
"Roche III, Edward" <edward_roche@solanco.k12.pa.us> wrote:
But I need to do it for about 9000 items. Is there a way to run it for all the items at once? If not, that is problem. What if someone wants to change their barcodes from their previous software (like us) they will need to do this process for each?!?!? [...]
Essentially, I'd write a script to call C4::Items::ModItem($item_changes, $biblionumber, $itemnumber) where $item_changes is a hash containing appropriate keys. perldoc C4/Items.pm is fairy detailed. Hope that gets you started, -- MJ Ray (slef) LMS developer and webmaster at | software www.software.coop http://mjr.towers.org.uk | .... co Notice http://mjr.towers.org.uk/email.html | .... op
I understand what you are saying but I am not a programmer by any stretch of the imagination. I follow and edit the code but to actually a script is beyond my skill set at this point. So if someone can help me out here that if not if someone can tell who to contact that can help that would great as well. Thanks! Ed Edward J. Roche Network Administrator Solanco School District 717.786.2151 x2437 "At the End of the Day, Did You Play to Win or Not to Lose?" -----Original Message----- From: MJ Ray [mailto:mjr@phonecoop.coop] Sent: Monday, June 29, 2009 6:09 AM To: rick@praxis.com.au; Roche III, Edward Cc: koha-devel@lists.koha.org Subject: Re: [Koha-devel] updateitem.pl "Roche III, Edward" <edward_roche@solanco.k12.pa.us> wrote:
But I need to do it for about 9000 items. Is there a way to run it for all the items at once? If not, that is problem. What if someone wants to change their barcodes from their previous software (like us) they will need to do this process for each?!?!? [...]
Essentially, I'd write a script to call C4::Items::ModItem($item_changes, $biblionumber, $itemnumber) where $item_changes is a hash containing appropriate keys. perldoc C4/Items.pm is fairy detailed. Hope that gets you started, -- MJ Ray (slef) LMS developer and webmaster at | software www.software.coop http://mjr.towers.org.uk | .... co Notice http://mjr.towers.org.uk/email.html | .... op
So if someone can help me out here that if not if someone can tell who to contact that can help that would great as well.
http://koha.org/support/pay-for-support/ ...Or contact a local Linux user group and you might find a good Perl hacker you could hire. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
Something like this should do the trick. If you run this script make sure the lines 4-6 are correct for your install. On Mon, 2009-06-29 at 10:26 -0400, Roche III, Edward wrote:
I understand what you are saying but I am not a programmer by any stretch of the imagination. I follow and edit the code but to actually a script is beyond my skill set at this point. So if someone can help me out here that if not if someone can tell who to contact that can help that would great as well.
Thanks! Ed
Edward J. Roche Network Administrator Solanco School District 717.786.2151 x2437
"At the End of the Day, Did You Play to Win or Not to Lose?"
-----Original Message----- From: MJ Ray [mailto:mjr@phonecoop.coop] Sent: Monday, June 29, 2009 6:09 AM To: rick@praxis.com.au; Roche III, Edward Cc: koha-devel@lists.koha.org Subject: Re: [Koha-devel] updateitem.pl
"Roche III, Edward" <edward_roche@solanco.k12.pa.us> wrote:
But I need to do it for about 9000 items. Is there a way to run it for all the items at once? If not, that is problem. What if someone wants to change their barcodes from their previous software (like us) they will need to do this process for each?!?!? [...]
Essentially, I'd write a script to call C4::Items::ModItem($item_changes, $biblionumber, $itemnumber) where $item_changes is a hash containing appropriate keys. perldoc C4/Items.pm is fairy detailed.
Hope that gets you started, -- Michael Hafen Systems Analyst and Programmer Washington County School District Utah, USA
for Koha checkout http://development.washk12.org/gitweb/ or git://development.washk12.org/koha
"Roche III, Edward" <edward_roche@solanco.k12.pa.us> wrote:
I understand what you are saying but I am not a programmer by any stretch of the imagination. I follow and edit the code but to actually a script is beyond my skill set at this point. So if someone can help me out here that if not if someone can tell who to contact that can help that would great as well.
Sorry for the misunderstanding. I read the message on the development list, the sig says "Network Administrator" and software.coop's Network Administrator writes small scripts, so I thought it was a question of how to develop it. I didn't have time to review the thread (it wasn't summarised in the email and your quoting is generally confusing - see http://www.netmeister.org/news/learn2quote2.html#ss2.1 ) to figure out what you wanted, code it and test it. If the script kindly provided by mdhafen doesn't work for your task, David Schuster wrote a good guide to suggesting new features at http://wiki.koha.org/doku.php?id=instructions Hope that helps, -- MJ Ray (slef) LMS developer and webmaster at | software www.software.coop http://mjr.towers.org.uk | .... co Notice http://mjr.towers.org.uk/email.html | .... op
It is my understanding that there will be some bulk editing functionality in 3.2 : http://wiki.koha.org/doku.php?id=en:development:rfcs3.2#cataloguing I know that doesn't help you right now, but it is good news because you're not the only one who needs this type of functionality. --- Nicole C. Engard Open Source Evangelist, LibLime (888) Koha ILS (564-2457) ext. 714 nce@liblime.com AIM/Y!/Skype: nengard http://liblime.com http://blogs.liblime.com/open-sesame/ 2009/6/27 Roche III, Edward <edward_roche@solanco.k12.pa.us>:
But I need to do it for about 9000 items. Is there a way to run it for all the items at once? If not, that is problem. What if someone wants to change their barcodes from their previous software (like us) they will need to do this process for each?!?!? There has to be a way to mass import changes to the items table then have it makes the changes to the other tables and the zebra db as well.
Edward Roche Technology Support/Network Admin Solanco School District edward_roche@solanco.k12.pa.us 717.786.2151
The greatest mistake you can make in life is to continually be afraid you will make one. Elbert Hubbard
-----Original Message----- From: Rick Welykochy [mailto:rick@praxis.com.au] Sent: Fri 6/26/2009 11:34 PM To: Roche III, Edward Cc: koha-devel@lists.koha.org Subject: Re: [Koha-devel] updateitem.pl
Roche III, Edward wrote:
Can someone tell me how to use this script. I know it cannot be used from the command line and I have tried to run it from with the browser. Any help help would be great.
1. search for an item in the catalogue, taking you to /cgi-bin/koha/catalogue/search.pl
2. click on one of the items in the results area that has a barcode, taking you to /cgi-bin/koha/catalogue/detail.pl
3. click on the barcode in the barcode column, taking you to /cgi-bin/koha/catalogue/moredetail.pl
4. the updateitem.pl script is called when you click on one of the buttons labeled "Set Status", "Withdraw" or "Update"
HTHH
cheers rickw
-- _________________________________ Rick Welykochy || Praxis Services
You should be open minded, but not so open minded that your brain falls out. -- Richard Dawkins
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
participants (6)
-
Michael Hafen -
MJ Ray -
Nicole Engard -
Owen Leonard -
Rick Welykochy -
Roche III, Edward