[Koha] Modify Holdings table layout...
Layale Bassil
lb26 at aub.edu.lb
Wed Aug 6 20:03:20 NZST 2014
Hello All,
I would like to thank you for the help you provided in modifying the layout of the holding table. I was able to do all the below modifications but now the holding note is being too long, some of them contain lots of text and the display is being ugly. I was wondering if there is a way to edit the content of this column and show only one line of the text and add a (...) link in order to expand and show the rest of the text when clicked.
Is this doable using javascript?
Your help is very much appreciated.
Best Regards.
Layale.
-----Original Message-----
From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Unauthenticated AUBnet User
Sent: Friday, June 27, 2014 9:07 AM
To: Liz Rea
Cc: koha at lists.katipo.co.nz
Subject: Re: [Koha] Modify Holdings table layout...
Hello Liz,
Many thanks for your quick reply!
Can you please tell me were do I insert this line of code?
Best Regards,
Layale.
On Jun 27, 2014, at 7:12 AM, "Liz Rea" <liz at catalyst.net.nz> wrote:
> $("#opac-detail th:contains('Notes')").text("Holding notes");
>
> would likely do it.
>
> Cheers,
> Liz
>
> On 27/06/14 16:04, Layale Bassil wrote:
>> Hello Owen,
>>
>> Thanks a lot for your help. I will try your suggestions regarding the due date and barcode columns.
>>
>> As for the text of the Notes column, I need to replace it with another text; make it "Holding notes" instead of "Notes". I'm talking about the holdings table inside the detailed view of the item in opac.
>>
>> Hope I made myself clear.
>>
>> Thanks again.
>> Best Regards.
>>
>> On Jun 26, 2014, at 3:32 PM, "Owen Leonard" <oleonard at myacpl.org> wrote:
>>
>>>> I need to remove two columns (Date due and Barcode)
>>> You can use custom CSS to hide the date due column. Add this to the
>>> OPACUserCSS system preference:
>>>
>>> td.date_due, #item_datedue { display: none; }
>>>
>>> The barcode column can be hidden by turning off the OPACShowBarcode
>>> system preference.
>>>
>>>> and change the text of the Notes columns?
>>> You'll have to be more specific about this one. What are you trying to do?
>>>
>>>> Which file do I have to edit?
>>> Ideally you should never edit a Koha file because this makes
>>> upgrading Koha more difficult. You should always look for ways to
>>> use system preferences, custom CSS, or custom JavaScript to
>>> accomplish the changes you want.
>>>
>>> -- Owen
>>>
>>> --
>>> Web Developer
>>> Athens County Public Libraries
>>> http://www.myacpl.org
>>> _______________________________________________
>>> Koha mailing list http://koha-community.org Koha at lists.katipo.co.nz
>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>> _______________________________________________
>> Koha mailing list http://koha-community.org Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>
> --
> --
> Liz Rea
> Catalyst.Net Limited
> Level 6, Catalyst House,
> 150 Willis Street, Wellington.
> P.O Box 11053, Manners Street,
> Wellington 6142
>
> GPG: B149 A443 6B01 7386 C2C7 F481 B6c2 A49D 3726 38B7
>
> _______________________________________________
> Koha mailing list http://koha-community.org Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list http://koha-community.org Koha at lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list