Pedro,

If you do end up modifying the XSLT files, here are a few tips:

I created detail display and results display XSLT files for our local authors 
catalog (see http://www.philobiblios.info for the low-powered test version). I 
discovered two wonderful things: you can name them anything you want as long as 
Koha knows what they're called, and you can put them anywhere you want as long 
as Koha knows where they are. (You also have to sync those with the Utils.xsl 
file.) I put them in /var/www/html and called them authcatUtils.xsl and 
authcatDetail.xsl.

If you do modify them, I highly recommend that you document ALL your changes 
with comments. Also, it's very easy to break them, so test each change before 
you go on to the next. Go slowly!

You do have a test server for this, right? :-)

Fred King
Medical Librarian, MedStar Washington Hospital Center
fred.k...@medstar.net
202-877-6670
ORCID 0000-0001-5266-0279

A learning experience is one of those things that says, 'You know that thing 
you just did? Don't do that.’
--Douglas Adams

-----Original Message-----
From: Koha [mailto:koha-boun...@lists.katipo.co.nz] On Behalf Of Katrin
Sent: Monday, November 21, 2016 4:09 PM
To: koha@lists.katipo.co.nz
Subject: Re: [Koha] New opac detail view for records

Hi Pedro,

the normal view can be changed by creating your own XSLT file and 
activating it using the OPACXSLTDetailsDisplay and XSLTDetailsDisplay 
system preferences.

The ISBD view can be changed via the OPACISBD and ISBD system preferences.

I would recommend not to change the templates or to create your own if 
you can avoid it, as it is likely to give you headaches when updating to 
a newer version later on. It's safer to use the preferences, CSS and jQuery.

What is the fourth view you want to implement?

Hope this helps,

Katrin

On 10.11.2016 19:32, Pedro Amorim wrote:
> Hello all,
>
> I'm just about to start diving into the core and figure out how the three
> different opac detail views are implemented (normal, marc and ISBD) so I
> can implement my own custom detail view and add a fourth one.
> However, and before I start doing so, I was wondering if anyone has
> done/attempted this before or at least if someone has some knowledge on
> what template files should I start and how to go about it.
>
> Thanks as always,
>
> Pedro Amorim

----------------------------------------------------------------------
MedStar Health is a not-for-profit, integrated healthcare delivery system, the 
largest in Maryland and the Washington, D.C., region. Nationally recognized for 
clinical quality in heart, orthopaedics, cancer and GI.

IMPORTANT: This e-mail (including any attachments) may contain information that 
is private, confidential, or protected by attorney-client or other privilege. 
If you received this e-mail in error, please delete it from your system without 
copying it and notify sender by reply e-mail, so that our records can be 
corrected... Thank you.

Help conserve valuable resources - only print this email if necessary.


_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to