@@ -, +, @@ --- .../admin/preferences/enhanced_content.pref | 23 +++++++++++ koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 42 +++++++++++++++++++- opac/opac-detail.pl | 8 ++++ 3 files changed, 72 insertions(+), 1 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref @@ -123,6 +123,29 @@ Enhanced Content: - pref: BakerTaylorPassword class: password - . + Novelist Select: + - + - pref: NovelistSelectEnabled + choices: + yes: Add + no: "Don't add" + - Novelist Select content to the OPAC (requires that you have entered in a user profile and password, which can be seen in image links). + - + - Display Novelist Select content + - pref: NovelistSelectView + choices: + tab: in an OPAC tab + above: above the holdings table + below: below the holdings table + right: under the Save Record dropdown, on the right + - . + - + - Access Novelist Select using user profile + - pref: NovelistSelectProfile + - and password + - pref: NovelistSelectPassword + class: password + - . Google: - - pref: GoogleJackets --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -28,6 +28,9 @@ [% IF OpenLibraryCovers %] KOHA.OpenLibrary.GetCoverFromIsbn(); [% END %] + [% IF ( NovelistSelectProfile ) %] + novSelect.loadContentForISBN('[% normalized_isbn %]','[% NovelistSelectProfile %]', '[% NovelistSelectPassword %]', function(d){}); + [% END %] [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %] $(".tagbutton").click(KOHA.Tags.add_tag_button);[% END %][% END %][% END %] @@ -314,9 +317,18 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( BakerTaylorContentURL ) %] Enhanced Content: - [% IF ( OPACurlOpenInNewWindow ) %]Content Cafe[% ELSE %]Content Cafe[% END %] + [% IF ( OPACurlOpenInNewWindow ) %]Content Cafe[% ELSE %]Content Cafe[% END %] + + [% END %] + [% IF ( NovelistSelectProfile ) %] + [% IF ( NovelistSelectView == 'above') %] + + Novelist Select: + + [% END %] [% END %] +