[Koha] Koha XSLT Editing - Hyperlinking the Uniform Titles Element
Eric Bégin
eric.begin at inLibro.com
Mon Mar 2 10:34:15 NZDT 2015
Craig,
Basically, when you add your <a> element in the your xsl file, you can
use an attribute to add your href. Something like this :
> <a>
> <xsl:attribute name="href">http://yourUrl</xsl:attribute>
> Your link text
> </a>
Hope that helps !
Eric Bégin
Solutions inLibro inc
On 2015-02-28 18:09, Craig Butosi wrote:
> Hi Everyone,
>
> 3.18.03 on Linux Ubuntu 3.13.0-45
>
> I'm attempting to learn how to modify XSLT files in order to change the look of the OPAC detail and OPAC result pages. I'm finding this an extraordinarily difficult task. CSS and HTML are much more intuitive to me than XSLT. I might be out of my league on this one.
>
> What I would like to start out doing is transforming the Uniform Titles element on the OPAC details page into hyperlinks, so that users can search on UTs from the details page.
>
> I've located MARC21slim2OPACResults.xsl and am trying to learn how to add the href attribute, but am lost.
>
> Has someone attempted to do this before? If so, and provided my request is not too labor-intensive, would someone on the list be willing to help me out on this? If I perhaps see the correct way of going about this from you, I might be able to more confidently edit other areas of the XSLT pages. Right now I am quite unsure.
>
> Happy to be referred to XSLT learning guides that others use too!
>
> Many thanks!!
>
> Best to all,
>
> Craig Butosi, MA, MLIS, B Mus (Hons.)
> LIBRARY SERVICES MANAGER
> the royal conservatory
> TELUS Centre for Performance and Learning
> 273 Bloor Street West Toronto, ON M5S 1W2
> 416.408.2824 x338
> www.rcmusic.ca<https://webmail.rcmusic.ca/owa/redir.aspx?C=b481823b299d45ee94b0016389bb76e9&URL=http%3a%2f%2fwww.rcmusic.ca%2f>
>
>
> Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
More information about the Koha
mailing list