Hi Daniel, some days ago I wrote to Linda:
Dear Linda: before replying to the list, and if you are experienced with Firebug on Firefox (or its equivalent in Chrome or Safari), try
$('#cataloguing_additem_itemlist th:nth-child(8)').css('display','none'); // 9th column header is at pos 8 $('#cataloguing_additem_itemlist td:nth-child(9)').css('display','none'); $('#cataloguing_additem_itemlist th:nth-child(9)').css('display','none'); // 10th column header is at pos 9 $('#cataloguing_additem_itemlist td:nth-child(10)').css('display','none');
If this is ok for you, we have to wrap this lines into some more javascript code to place it into the intranetuserjs syspref. Let me know. Bye. Stefano
Up to now, no reply from her. But we can compare our solutions. They seem very similar. Of course, both require to be wrapped into $(document).ready(function() { // our code }) Stefano On May 26, 2011, at 00:19 , Daniel Grobani wrote:
Linda,
Since no one's answered you yet, I'll offer some jQuery code to add to your intranetuserjs, with the caveats that I'm on LLEK and that I'm a jQuery neophyte whose naive solution is probably not bulletproof:
$("#cataloguing_additem_itemlist th:contains('Permanent location')").remove(); $("#cataloguing_additem_itemlist th:contains('Current location')").remove(); $("#cataloguing_additem_itemlist tbody tr td:nth-child(9)").remove(); $("#cataloguing_additem_itemlist tbody tr td:nth-child(10)").remove();
I hope that someone more experienced with jQuery sees this, laughs at it, jumps in with a more sophisticated solution, and adds it to the http://wiki.koha-community.org/wiki/JQuery_Library jQuery Library .
Cheers,
Daniel Grobani Library Technology Specialist John A. Graziano Memorial Library Samuel Merritt University
-- View this message in context: http://koha.1045719.n5.nabble.com/Koha-changing-the-item-edits-screen-tp4413... Sent from the Koha - Discuss mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha