[Koha] New opac detail view for records

Elaine Bradtke eb at efdss.org
Tue Nov 29 06:48:41 NZDT 2016


I agree with everything Fred said.  It's taken quite a bit of testing and
retesting to change something in the OPAC display. We managed to
accidentally  hide all the bibliographic data in the OPAC search results on
the first two tries.  Thank goodness for our test system.

On Mon, Nov 21, 2016 at 9:34 PM, King, Fred <Fred.King at medstar.net> wrote:

> 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.king at 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-bounces at lists.katipo.co.nz] On Behalf Of Katrin
> Sent: Monday, November 21, 2016 4:09 PM
> To: koha at 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 at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>



-- 
Elaine Bradtke
Data Wrangler
VWML
English Folk Dance and Song Society | http://www.efdss.org
Cecil Sharp House, 2 Regent's Park Road, London NW1 7AY
Tel    +44 (0) 20 7485 2206 (This number is for the English Folk Dance and
Song Society in London, England. If you wish to phone me personally, send
an e-mail first. I work off site)
--------------------------------------------------------------------------
Registered Company No. 297142
Charity Registered in England and Wales No. 305999
---------------------------------------------------------------------------
"Writing about music is like dancing about architecture"
--Elvis Costello (Musician magazine No. 60 (October 1983), p. 52)


More information about the Koha mailing list