Re: [Koha] I'm confused about where normal view customization occurs
Nicole Engard <nicole.engard@liblime.com> 2/20/2009 9:14 AM >>> The screenshots in the manual are probably different because some were taken with XSL on and others with it off. There are two system
Ah, OK. I have multiple databases and have turned on the xsl option on one of them and used it to customize how the clickable links appear, as that database is cataloging on-line resources. I ran into trouble turning on xsl for the other databases, as the "prog" directory is hard coded in many places in the code, and copying the file structure over to a new directory and pointing a second database at that structure didn't work, too many things still fetched from "prog". Because of that I left the xsl option off on the main catalog DB. So is the answer to my question that the customization for this occurs at the Perl template level? Or is there some other place in the Admin that I can add other fields to the Title line in the Normal View? Thanks, Doug preferences that control this and can be found here: https://sites.google.com/a/liblime.com/koha-manual/Home/Table-of-Contents/ad... --- 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/ On Fri, Feb 20, 2009 at 11:06 AM, Doug Dearden <dearden@sarsf.org> wrote:
Hello all,
I am trying to figure out if there is an easy way to add to the fields that appear in the Normal view of the OPAC and the Staff Client. Specifically, we currently see the 245$a field as the Title in the search results and detail view page. Is there a way in the Admin screens to change the display so the 245$b subfield is appended to the 245$a subfield, and display both as the Title? I thought this would be customizable from within the frameworks, but I don't seem to be having any luck. Looking at the doc on this page: https://sites.google.com/a/liblime.com/koha-manual/Home/Table-of-Contents/op... the samples show titles with two different formats, one of which appears to be displaying info that is normally in the 245$b field.
Is this customization that takes place at the Perl template level? Or is there something I am missing in the Admin?
Thanks,
Doug
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Like any page, you can add TMPL_VAR's to the template, and add to the script that populates it. It sounds like you should refer to the HTML::Template perldoc to see how it operates. The XSL solution is a lot slicker if you can manage it, but that only applies for the OPAC (when enabled). I'm not sure what approach you are taking by copying prog, but then using a "second database" on it. Copying prog is pretty drastic and is sure to cut off your developments from mainline updates. If you use git to control your code, then you wouldn't need to copy everything (since you could always revert to the mainline version if it got messed up), and you could still pull down updates. --Joe On Fri, Feb 20, 2009 at 12:46 PM, Doug Dearden <dearden@sarsf.org> wrote:
Ah, OK. I have multiple databases and have turned on the xsl option on one of them and used it to customize how the clickable links appear, as that database is cataloging on-line resources. I ran into trouble turning on xsl for the other databases, as the "prog" directory is hard coded in many places in the code, and copying the file structure over to a new directory and pointing a second database at that structure didn't work, too many things still fetched from "prog". Because of that I left the xsl option off on the main catalog DB.
So is the answer to my question that the customization for this occurs at the Perl template level? Or is there some other place in the Admin that I can add other fields to the Title line in the Normal View?
Thanks,
Doug
Nicole Engard <nicole.engard@liblime.com> 2/20/2009 9:14 AM >>> The screenshots in the manual are probably different because some were taken with XSL on and others with it off. There are two system preferences that control this and can be found here:
https://sites.google.com/a/liblime.com/koha-manual/Home/Table-of-Contents/ad...
---
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/
Hello all,
I am trying to figure out if there is an easy way to add to the fields
On Fri, Feb 20, 2009 at 11:06 AM, Doug Dearden <dearden@sarsf.org> wrote: that appear in the Normal view of the OPAC and the Staff Client. Specifically, we currently see the 245$a field as the Title in the search results and detail view page. Is there a way in the Admin screens to change the display so the 245$b subfield is appended to the 245$a subfield, and display both as the Title? I thought this would be customizable from within the frameworks, but I don't seem to be having any luck. Looking at the doc on this page: https://sites.google.com/a/liblime.com/koha-manual/Home/Table-of-Contents/op... samples show titles with two different formats, one of which appears to be displaying info that is normally in the 245$b field.
Is this customization that takes place at the Perl template level? Or is
there something I am missing in the Admin?
Thanks,
Doug
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Hi Doug, some display customization is available in Admin. I am not sure if it affects one or both Staff and OPAC views. https://sites.google.com/a/liblime.com/koha-manual/Home/Table-of-Contents/ad... I checked both Staff and OPAC views in our Koha (3.0) and 245a & b display; I checked Advanced Constraints under MARC Frameworks > MONO Framework Structure > Tag 245 Subfield Structure > Edit subfields constraints and Hidden values are both zero (0). That said - while 650a displays in the OPAC and Staff views, 651a does not displays in the OPAC but does in Staff view. Under subfields constraints, Hidden values are zero (0) for 650a and 651a. I hope this helps, Rachel Hollis, librarian Stevens-Henager College, Boise Idaho Campus -----Original Message----- From: koha-bounces@lists.katipo.co.nz [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Doug Dearden Sent: Friday, February 20, 2009 10:46 AM <snip> So is the answer to my question that the customization for this occurs at the Perl template level? Or is there some other place in the Admin that I can add other fields to the Title line in the Normal View? Thanks, Doug This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
participants (3)
-
Doug Dearden -
Joe Atzberger -
Rachel Hollis