[Koha-bugs] [Bug 4394] New: opaccolorstylesheet syspref won't allow an external URL
bugzilla-daemon at kohaorg.ec2.liblime.com
bugzilla-daemon at kohaorg.ec2.liblime.com
Wed Apr 21 14:21:14 CEST 2010
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4394
Summary: opaccolorstylesheet syspref won't allow an external URL
Product: Koha
Version: HEAD
Platform: PC
OS/Version: Windows 2000
Status: ASSIGNED
Severity: enhancement
Priority: P5
Component: OPAC
AssignedTo: jwagner at ptfs.com
ReportedBy: jwagner at ptfs.com
Estimated Hours: 0.0
Change sponsored?: ---
The opaccolorstylesheet syspref, according to the manual, is now used "to
specify a secondary stylesheet that can override the default one in as many
ways as the author wishes." However, while the opacstylesheet syspref can
point to a complete replacement stylesheet on a different server (full URL),
the opaccolorstylesheet syspref won't obey an external URL. It requires the
auxiliary stylesheet to be on the same server. For sites without easy access
to the server level, this is a problem.
The code seems to indicate that originally this setting was designed to be part
of the the themes feature:
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang"
-->/css/<!-- TMPL_VAR NAME="opaccolorstylesheet" -->" />
However, that feature seems never to have be implemented. I've modified this
line to match the syntax of the call to opacstylesheet:
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR
NAME="opaccolorstylesheet" -->" />
and the opaccolorstylesheet can now use a stylesheet stored on a remote server.
--
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