Re: [Koha-devel] cannot display branchname and patron category description in card layout

2023-09-26 Thread Michael Hafen
I have in the past also made many customizations to Koha, but I was working in 3.2 then. After trying to port forward my customizations when there was a Koha release, I decided I needed to learn code revision control to make it easier to manage my changes. The Koha Community Wiki has a nice page

Re: [Koha-devel] cannot display branchname and patron category description in card layout

2023-09-25 Thread Michael Hafen
I'm glad you got that figured out. Be aware that you will have to make that change again if that file is ever updated in a Koha release. I would say it's not likely, but certainly it can happen. I suggest at this point either getting that into a patch and create an enhancement request on the Koha

Re: [Koha-devel] cannot display branchname and patron category description in card layout

2023-09-23 Thread Zahid Iqbal
I have completed the patron category description and it is correctly showing in pdf file from patron card creator. anyone that needs help for patron category description is not showing in pdf please do the following. In *C4/Patroncards/Lib.pm *file. search for line "*$get_branch = 1 if grep{$_

Re: [Koha-devel] cannot display branchname and patron category description in card layout

2023-09-21 Thread Zahid Iqbal
Thanks Michael that will be very helpful. I will look into the code and get back to you. For now i am working on picture uploading (restrict image not more than 4KB and not more then 150 Height Width dimension) so the database does not get heavy. On Thu, Sep 21, 2023 at 9:38 PM Michael Hafen

Re: [Koha-devel] cannot display branchname and patron category description in card layout

2023-09-21 Thread Katrin Fischer
Hi, a good first step would be to file an enhancement request as a new bug on bugzilla. I did some searching and couldn't find one about adding the patron category description. Katrin On 21.09.23 18:38, Michael Hafen wrote: If you are looking at the code, look at C4/Patroncards/Lib.pm in the

Re: [Koha-devel] cannot display branchname and patron category description in card layout

2023-09-21 Thread Michael Hafen
If you are looking at the code, look at C4/Patroncards/Lib.pm in the get_borrower_attributes() function. That's where the branchcode to branchname conversion is handled, I figure that would be the place to do a categorycode to category description conversion. On Thu, Sep 21, 2023 at 12:17 AM

[Koha-devel] cannot display branchname and patron category description in card layout

2023-09-19 Thread Zahid Iqbal
Hi, In koha 22.11 can someone guide to print branchname and patron category description on pdf file for patron card creator 1. print branchname not branchcode 2. print patron-category-description not categorycode what are the values i have to type in text box for field1 and field2 in