From 1ae3958b7e0958059cd6bfdf8f1503eda82466eb Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 17 Dec 2014 15:53:42 -0500 Subject: [PATCH] Disable metarecords; merge config.tt2 changes Signed-off-by: Dan Scott --- Open-ILS/src/templates_hrsrh/opac/parts/config.tt2 | 93 +++++++++++++++++++--- 1 file changed, 84 insertions(+), 9 deletions(-) diff --git a/Open-ILS/src/templates_hrsrh/opac/parts/config.tt2 b/Open-ILS/src/templates_hrsrh/opac/parts/config.tt2 index 418500eac2..193fcb6b9c 100644 --- a/Open-ILS/src/templates_hrsrh/opac/parts/config.tt2 +++ b/Open-ILS/src/templates_hrsrh/opac/parts/config.tt2 @@ -1,4 +1,4 @@ -[% +[% ############################################################################## # This file contains skin-level configuration settings. @@ -51,6 +51,17 @@ google_analytics.enabled = 'false'; google_analytics.code = 'UA-9999999-99'; ############################################################################## +# Ebook API integration +############################################################################## +ebook_api.enabled = 'false'; +ebook_api.ebook_test.enabled = 'false'; +ebook_api.ebook_test.base_uris = [ 'http://example.com/ebookapi/t/' ]; +ebook_api.oneclickdigital.enabled = 'false'; +ebook_api.oneclickdigital.base_uris = [ 'http://example.oneclickdigital.com/Products/ProductDetail.aspx' ]; +ebook_api.overdrive.enabled = 'false'; +ebook_api.overdrive.base_uris = [ 'http://elm.lib.overdrive.com/' ]; + +############################################################################## # Enable "Forgot your password?" prompt at login ############################################################################## reset_password = 'true'; @@ -72,6 +83,13 @@ disable_email_change = 'false'; allow_phone_notifications = 'true'; ############################################################################## +# Format of parts selection on Place Holds screen +# Set to true to use radio buttons for parts selection on the Place Holds +# screen. The default behavior is to to display them in a select menu. +############################################################################# +enable.radio.parts = 'false'; + +############################################################################## # Misc. UI Settings ############################################################################## # Option for full details as a default, esp. impt. for e-content @@ -87,15 +105,15 @@ show_more_details.default = 'hide'; # Options are "small", "medium", and "large" record.summary.jacket_size = 'medium'; - ############################################################################## -# Define the order in which facets are displayed. Only facets listed here -# will be displayed. To show all facets sorted by name, comment out this -# setting. +# Define the order in which facets are displayed. Only facets listed here +# will be displayed. To show all facets sorted by name, comment out this +# setting. # facet.display = [] # show no facets facet.display = [ {facet_class => 'author', facet_order => ['personal', 'corporate']}, {facet_class => 'subject', facet_order => ['topic']}, + {facet_class => 'identifier', facet_order => ['genre']}, {facet_class => 'series', facet_order => ['seriestitle']}, {facet_class => 'subject', facet_order => ['name', 'geographic']} ]; @@ -116,8 +134,8 @@ facet.default_display_count = 5; # lib_selector will put the search library box (with limit to available) # pub_year will put the publication year box # sort_selector will put the sort results selector -# id DOM id used for linking labels to form controls. They are pinned -# here instead of auto-generated (from the attr type, for example) +# id DOM id used for linking labels to form controls. They are pinned +# here instead of auto-generated (from the attr type, for example) # for consistency. search.adv_config = [ @@ -160,6 +178,12 @@ search.basic_config = { none_label => l("All Formats"), }; +# Make metarecord search the default. +#search.metarecord_default = 1; + +# Disable search term highlighting +#search.no_highlight = 1; + ############################################################################## # Show Google Book Previews # Set to 1 or 'true' to enable @@ -171,16 +195,34 @@ ctx.google_books_preview = 0; # # ctx.maintenance_message = "The system will not be available February 29, 2104."; +############################################################################## +# Depth Button/Checkbox +# Recommendation: Do not enable button for basic search without enabling the +# checkbox for the results page +ctx.depth_sel_checkbox = 1; # Results Page Checkbox Toggle +ctx.depth_sel_button = 1; # Basic Search Submit Button +ctx.depth_sel_depth = 0; # Depth to set to +ctx.depth_sel_button_label = l('All Libraries'); +ctx.depth_sel_button_class = 'opac-button'; +ctx.depth_sel_checkbox_label = l('Show Results from All Libraries'); +ctx.depth_sel_tooltip = l('Select this option to expand your results to all libraries while retaining the priority of your selected library\'s holdings.'); +ctx.depth_sel_resultshint = l('Showing results from all libraries'); + +############################################################################## +# Exclude Electronic Resources Checkbox +# One setting for both the advanced search page and the results bar. +# Off by default; set to 1 to display. +ctx.exclude_electronic_checkbox = 0; ############################################################################## # Metarecords configuration -# metarecords.disabled = 1; # disable all metarecord access points +metarecords.disabled = 1; # disable all metarecord access points ############################################################################## ############################################################################## # Local date format (uses POSIX strftime() formatting) # See http://www.template-toolkit.org/docs/modules/Template/Plugin/Date.html -# DATE_FORMAT = '%Y-%m-%d'; # for 2014-06-31 format +DATE_FORMAT = '%Y-%m-%d'; # for 2014-06-31 format ############################################################################## ############################################################################## @@ -190,4 +232,37 @@ ctx.google_books_preview = 0; # TIME_FORMAT = '%H:%M'; # for 16:32 (24 hour) format ############################################################################## +############################################################################## +# Obalkyknih.cz support +############################################################################## +# Obalkyknihy.cz is free Czech service providing added content and book covers +# Set to 'true' to enable +############################################################################## +# obalkyknih_cz.enabled = 'false'; + +############################################################################## +# JQuery support +############################################################################## +# Include JQuery in the TPAC? +# Set to a true value to enable +############################################################################## +# ctx.want_jquery = 1; + +############################################################################## +# Browser cache-busting key +############################################################################## +# Links to assets like stylesheets, JavaScript, and images will have this +# key appended so that browsers will be forced to request a new version. +# Enables you to set a cache max-date of years. +# +# If unset, it falls back to eg_cache_hash (which is set every time you run +# "autogen", which may or may not be when you change styles etc) +############################################################################## +# ctx.cache_key = '001' + +############################################################################## +# Display of badge scores +############################################################################## +ctx.hide_badge_scores = 'false'; + %] -- 2.11.0