[Koha-bugs] [Bug 5671] Add a column of custom HTML to "my summary"
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 31 19:15:54 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5671
--- Comment #3 from Magnus Enger <magnus at enger.priv.no> 2011-03-31 17:15:54 UTC ---
Created attachment 3580
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3580
Proposed patch
The code can be seen running on http://head.bibkat.no/ - log in as demo with
username demo.
The OPACMySummaryHTML hasa been left blank as default, so only those libraries
the want the functionality have to worry about it.
Here is a value for OPACMySummaryHTML that should display all the avalable
variables, as well as an example of a link to Facebook (replace example.com
with the domain name used by your OPAC):
<p><a
href="http://www.facebook.com/sharer.php?u=http://example.com/cgi-bin/koha/opac-detail.pl?biblionumber={BIBLIONUMBER}">Share
on Facebook</a>
<br />TITLE: {TITLE}
<br />AUTHOR: {AUTHOR}
<br />ISBN: {ISBN}
<br />BIBLIONUMBER: {BIBLIONUMBER}
<br />CONTROLNUMBER: {CONTROLNUMBER}</p>
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list