Display 9xx field in OPAC
Hi community, I want to display 905 field $a in OPAC as we use it for our local needs and we want the patrons to be able to see it. I changed the options here: /Home › Administration › MARC frameworks › Default framework structure › Tag 905 Subfield structure/ and selected the subfield $a to be visible in opac but with no luck... Here (https://lists.katipo.co.nz/public/koha/2016-December/046874.html) they suggest to edit this file: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/<language>/xslt/MARC21slim2OPACDetail.xsl Is this correct? Thank you -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
Hi, it's correct. The visibility setting will work on the MARC views, but have only limited effect on the normal view that is based on XSLT. If your fields and subfields are not in the XSLT file to begin with, you can't make them show up, but you can hide what would show up. Some example XSLT code can be found here: https://wiki.koha-community.org/wiki/XSLT_Library Hope that made sense, Katrin On 28.07.2018 14:57, drojup wrote:
Hi community,
I want to display 905 field $a in OPAC as we use it for our local needs and we want the patrons to be able to see it.
I changed the options here: /Home › Administration › MARC frameworks › Default framework structure › Tag 905 Subfield structure/
and selected the subfield $a to be visible in opac but with no luck...
Here (https://lists.katipo.co.nz/public/koha/2016-December/046874.html) they suggest to edit this file: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/<language>/xslt/MARC21slim2OPACDetail.xsl
Is this correct?
Thank you
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Another note: Keep in mind that if you change standard files, those change will be lost with the next update. I'd recommend to copy the existing files and then set the path to them in the |*XSLTDetailsDisplay and | ||*XSLTResultsDisplay system preferences. || On 30.07.2018 17:27, Katrin Fischer wrote:
Hi,
it's correct. The visibility setting will work on the MARC views, but have only limited effect on the normal view that is based on XSLT. If your fields and subfields are not in the XSLT file to begin with, you can't make them show up, but you can hide what would show up.
Some example XSLT code can be found here:
https://wiki.koha-community.org/wiki/XSLT_Library
Hope that made sense,
Katrin
On 28.07.2018 14:57, drojup wrote:
Hi community,
I want to display 905 field $a in OPAC as we use it for our local needs and we want the patrons to be able to see it.
I changed the options here: /Home › Administration › MARC frameworks › Default framework structure › Tag 905 Subfield structure/
and selected the subfield $a to be visible in opac but with no luck...
Here (https://lists.katipo.co.nz/public/koha/2016-December/046874.html) they suggest to edit this file: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/<language>/xslt/MARC21slim2OPACDetail.xsl
Is this correct?
Thank you
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Katrin is right: the visibility settings will make the fields available for XSLT processing, but the XSLTs need to have rules defined to show your fields. Good luck! El lun., 30 jul. 2018 a las 12:28, Katrin Fischer (<katrin.fischer.83@web.de>) escribió:
Hi,
it's correct. The visibility setting will work on the MARC views, but have only limited effect on the normal view that is based on XSLT. If your fields and subfields are not in the XSLT file to begin with, you can't make them show up, but you can hide what would show up.
Some example XSLT code can be found here:
https://wiki.koha-community.org/wiki/XSLT_Library
Hope that made sense,
Katrin
Hi community,
I want to display 905 field $a in OPAC as we use it for our local needs and we want the patrons to be able to see it.
I changed the options here: /Home › Administration › MARC frameworks › Default framework structure › Tag 905 Subfield structure/
and selected the subfield $a to be visible in opac but with no luck...
Here (https://lists.katipo.co.nz/public/koha/2016-December/046874.html)
On 28.07.2018 14:57, drojup wrote: they
suggest to edit this file:
/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/<language>/xslt/MARC21slim2OPACDetail.xsl
Is this correct?
Thank you
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
I've modified OPAC display XSL files for our MedStar Authors Catalog (see below). A few suggestions: In the OPAC Preferences page, you can change the location and name of the OPACXSLTDetailsDisplay file and OPACXSLTResults file. Put them in a directory where they won't get overwritten when you do a general upgrade. You also have to put the location of the Utils xslt in Results and Display. I don't think I've needed to rewrite them after recent upgrades. Copy and paste works really well when adding a new MARC field. It's much easier to figure out what to change than to learn xsl. It's fairly easy to break the display when you're editing xslt files, especially if your knowledge of xsl is rudimentary. Keep backup files, take notes, and practice on a test system. Don't experiment on your production system. Did I mention practicing on a test system? Fred King Medical Librarian, MedStar Washington Hospital Center fred.king@medstar.net 202-877-6670 ORCID 0000-0001-5266-0279 MedStar Authors Catalog: http://medstarauthors.org Light thinks it travels faster than anything but it is wrong. No matter how fast light travels, it finds the darkness has always gotten there first, and is waiting for it. --Terry Pratchett -----Original Message----- From: Koha [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Tomas Cohen Arazi Sent: Monday, July 30, 2018 11:33 AM To: Katrin Fischer Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Display 9xx field in OPAC ** ATTENTION: This email originated from outside of the MedStar network.** DO NOT CLICK links or attachments unless you recognize the sender and know the content is safe. Katrin is right: the visibility settings will make the fields available for XSLT processing, but the XSLTs need to have rules defined to show your fields. Good luck! El lun., 30 jul. 2018 a las 12:28, Katrin Fischer (<katrin.fischer.83@web.de>) escribió:
Hi,
it's correct. The visibility setting will work on the MARC views, but have only limited effect on the normal view that is based on XSLT. If your fields and subfields are not in the XSLT file to begin with, you can't make them show up, but you can hide what would show up.
Some example XSLT code can be found here:
Hope that made sense,
Katrin
Hi community,
I want to display 905 field $a in OPAC as we use it for our local needs and we want the patrons to be able to see it.
I changed the options here: /Home › Administration › MARC frameworks › Default framework structure › Tag 905 Subfield structure/
and selected the subfield $a to be visible in opac but with no luck...
On 28.07.2018 14:57, drojup wrote: they
suggest to edit this file:
/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/<language>/xslt/MARC21slim2OPACDetail.xsl
Is this correct?
Thank you
-- Sent from: https://urldefense.proofpoint.com/v2/url?u=http-3A__koha.1045719.n5.nabble.com_Koha-2Dgeneral-2Df3047918.html&d=DwIGaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=ZGqshJ5iAt_maHE3gwHBQR2lCTm3kYKrgyGKhi3F2xo&s=dc0q5VCaY4YwfyY4jiTbaJFkEAiM2EiNU6cFa-jpaaM&e= _______________________________________________ Koha mailing list https://urldefense.proofpoint.com/v2/url?u=http-3A__koha-2Dcommunity.org&d=DwIGaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=ZGqshJ5iAt_maHE3gwHBQR2lCTm3kYKrgyGKhi3F2xo&s=pA2BzySVJNyaTluyR1eviLG_QcZubv97PyAi4HrZmAw&e= Koha@lists.katipo.co.nz https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.katipo.co.nz_mailman_listinfo_koha&d=DwIGaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=ZGqshJ5iAt_maHE3gwHBQR2lCTm3kYKrgyGKhi3F2xo&s=ncaq9wYvP127OY5Q3JYVvjkomhXmCgxImBu8n2uO0zQ&e=
_______________________________________________ Koha mailing list https://urldefense.proofpoint.com/v2/url?u=http-3A__koha-2Dcommunity.org&d=DwIGaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=ZGqshJ5iAt_maHE3gwHBQR2lCTm3kYKrgyGKhi3F2xo&s=pA2BzySVJNyaTluyR1eviLG_QcZubv97PyAi4HrZmAw&e= Koha@lists.katipo.co.nz https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.katipo.co.nz_mailman_listinfo_koha&d=DwIGaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=ZGqshJ5iAt_maHE3gwHBQR2lCTm3kYKrgyGKhi3F2xo&s=ncaq9wYvP127OY5Q3JYVvjkomhXmCgxImBu8n2uO0zQ&e=
-- Tomás Cohen Arazi Theke Solutions (https://urldefense.proofpoint.com/v2/url?u=https-3A__theke.io&d=DwIGaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=ZGqshJ5iAt_maHE3gwHBQR2lCTm3kYKrgyGKhi3F2xo&s=ykPjRGalUG4yX91NRzXjjHH8IsGWA2UWMWV9feOBIt4&e= <https://urldefense.proofpoint.com/v2/url?u=http-3A__theke.io_&d=DwIGaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=ZGqshJ5iAt_maHE3gwHBQR2lCTm3kYKrgyGKhi3F2xo&s=nDaoFXl8InQ54rpEz8WOKBT0uiFMUR5-4yR8JixjrlE&e=>) ✆ +54 9351 3513384 GPG: B2F3C15F _______________________________________________ Koha mailing list https://urldefense.proofpoint.com/v2/url?u=http-3A__koha-2Dcommunity.org&d=DwIGaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=ZGqshJ5iAt_maHE3gwHBQR2lCTm3kYKrgyGKhi3F2xo&s=pA2BzySVJNyaTluyR1eviLG_QcZubv97PyAi4HrZmAw&e= Koha@lists.katipo.co.nz https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.katipo.co.nz_mailman_listinfo_koha&d=DwIGaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=ZGqshJ5iAt_maHE3gwHBQR2lCTm3kYKrgyGKhi3F2xo&s=ncaq9wYvP127OY5Q3JYVvjkomhXmCgxImBu8n2uO0zQ&e=
participants (4)
-
drojup -
Katrin Fischer -
King, Fred -
Tomas Cohen Arazi