[Koha-bugs] [Bug 3098] XSLT stylesheet does not obey OPACURLOpenInNewWindow syspref

bugzilla-daemon at liblime.com bugzilla-daemon at liblime.com
Fri Jul 24 18:24:54 CEST 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3098





--- Comment #1 from Jane Wagner <jwagner at ptfs.com>  2009-07-24 16:24:53 ---
Still haven't been able to figure out how to pass a syspref to the XSLT files
and get it obeyed, but I did an interim hard-coded fix to force the OPAC to
open URLs in new windows:

Under koha-tmpl/opac-tmpl/prog/en/xslt, in MARC21slim2OPACDetail.xsl and
MARC21slim2OPACResults.xsl, under the 856 section, search for the line

<a><xsl:attribute name="href"><xsl:value-of
select="marc:subfield[@code='u']"/></xsl:attribute>

Change the beginning <a> as follows:

<a target="_blank">


This is an interim fix until the larger problem of passing/obeying sysprefs
gets solved.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list