[Koha] I'm confused about where normal view customization occurs
Owen Leonard
oleonard at myacpl.org
Fri Mar 6 16:14:34 NZDT 2009
The short answer is that there isn't any such thing as "normal view
customization." The normal view is hard-coded in the Perl script. It
pulls what data it pulls, and to change that you'd have to modify the
script that controls it.
The XSLT version is theoretically more open to customization *if*:
- you have access to your server's filesystem
- you understand enough about XSLT to hack the template
Messing with your frameworks isn't going to affect the display of
search results or the detail pages. Frameworks are designed to control
the display in the MARC editor.
I share your frustration with this display. In fact, the more I look
at it the more frustrated I get! Here's what I see in my OPAC
(http://acpl.kohalibrary.com):
With XSLT off, the search results screen shows 3 available and 6
checked out of one title. Clicking through to the detail screen shows
4 available and 2 checked out. I'm assuming those totals don't match
up because we have the hidelostitems system preference turned on.
http://myacpl.org/koha/examples/opac-searchresults-xslt-off.png
With XSLT on, the search results screen shows 3 available, 3 checked
out, and 3 lost. The detail screen still shows 4 available and 2
checked out. At least this time the number of lost items seems
accurate, but why are the available and checked out numbers wrong?
http://myacpl.org/koha/examples/opac-searchresults-xslt-on.png
The other differences in the displays are equally frustrating, but I
can't say for sure without more digging what differences are
limitations of the program and what are shortcomings in the template
design. For instance, I suspect the search term highlighting doesn't
appear in the XSLT version because it's not possible. But the
differences in what information displays should be addressed.
-- Owen
--
Web Developer
Athens County Public Libraries
http://www.myacpl.org
More information about the Koha
mailing list