Fix up config.tt2
authorArt Rhyno <art632000@yahoo.ca>
Tue, 2 Oct 2012 23:54:06 +0000 (19:54 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 8 May 2013 15:27:29 +0000 (11:27 -0400)
I don't know how I messed this up but this is the config file that
we want for block options and google analytics.

Open-ILS/src/templates_windsor/opac/parts/config.tt2

index 737c9a8..6debf95 100644 (file)
@@ -6,22 +6,25 @@
 ##############################################################################
 
 ##############################################################################
+# Holds hiding
+##############################################################################
+# Hide the ability to place holds at all
+ctx.holds_hide.enabled = 'true';
+
+##############################################################################
 # Holds blocking
 ##############################################################################
-# Prevent the "Place hold" link from being displayed if a copy is available.
-# This is not perfect, given the umpteen different types of holds that are
-# possible, but addresses the major use case for libraries that don't want
-# to fetch copies from the shelves.
-ctx.holds_block.enabled = 'false';
+# Block the ability to place holds if item is available
+ctx.holds_block.enabled = 'true';
 
 ##############################################################################
 # RefWorks configuration
 ##############################################################################
 # RefWorks is a Web-based citation manager
-ctx.refworks.enabled = 'false';
+ctx.refworks.enabled = 'true';
 
 # Base URL for RefWorks
-ctx.refworks.url = 'http://www.refworks.com';
+ctx.refworks.url = 'http://ezproxy.uwindsor.ca/login?url=http://refworks.scholarsportal.info';
 
 # Some sites have a hosted RefWorks instance at a different URL;
 # in addition, you might want to proxy access to RefWorks - for example:
@@ -38,8 +41,8 @@ ctx.refworks.url = 'http://www.refworks.com';
 # this feature.
 ##############################################################################
 
-openurl.enabled = 'false';
-openurl.baseurl = 'http://sfx.example.com/instance';
+openurl.enabled = 'true';
+openurl.baseurl = 'http://sfx.scholarsportal.info/windsor';
 
 ##############################################################################
 # Google Analytics support
@@ -47,13 +50,13 @@ openurl.baseurl = 'http://sfx.example.com/instance';
 # You can enable Google Analytics support in Evergreen by entering a
 # valid Google Analytics code and changing 'false' to 'true'
 ##############################################################################
-google_analytics.enabled = 'false';
-google_analytics.code = 'UA-9999999-99';
+google_analytics.enabled = 'true';
+google_analytics.code = 'UA-2478632-6';
 
 ##############################################################################
 # Enable "Forgot your password?" prompt at login
 ##############################################################################
-reset_password = 'true';
+reset_password = 'false';
 
 ##############################################################################
 # Hide various options from user preferences that you might not want to expose
@@ -61,15 +64,15 @@ reset_password = 'true';
 #
 # Username changes can be disabled by the opac.lock_usernames OU setting.
 ##############################################################################
-disable_password_change = 'false';
-disable_email_change = 'false';
+disable_password_change = 'true';
+disable_email_change = 'true';
 
 ##############################################################################
 # Some libraries do not do notifications by phone; if not true, then this
 # hides the user preference for phone notifications as well as the phone
 # notification portion of the hold dialogue
 ##############################################################################
-allow_phone_notifications = 'true';
+allow_phone_notifications = 'false';
 
 ##############################################################################
 # Misc. UI Settings
@@ -79,7 +82,7 @@ allow_phone_notifications = 'true';
 # Setting this to 'true' shows full details by default but allows the link
 # to appear for 'Show Fewer Details'. The 'hide' option shows full details
 # and also suppresses the link from displaying at all.
-show_more_details.default = 'false';
+show_more_details.default = 'hide';
 
 ##############################################################################
 # Size of the jacket image to display on the record detail summary.
@@ -105,7 +108,6 @@ facet.display = [
 # adv_label is the (translated) label for the limiter
 # adv_attr is an array of possible limiters, the first one that has any
 #   values will be used
-# adv_filter is the same as adv_attr, but for search filter groups
 # adv_break will end the current row. If specified with a label/attr it
 #   will do so *after* that limiter.
 # adv_special will drop in a special entry:
@@ -134,19 +136,4 @@ search.adv_config = [
 
 search.default_qtypes = ['keyword','title','author'];
 
-##############################################################################
-# Basic Search Box definition
-# This allows selection of what, exactly, basic search uses for a selection
-# box. Previously it was hardcoded to use an attr box of mattype or item_type.
-#
-# type can be "attr" or "filter"
-# group is the attr or filter entries you want to check for
-# none_label is the label for the default nothing selected entry.
-
-search.basic_config = {
-    type => 'attr',
-    group => ['mattype','item_type'],
-    none_label => l("All Formats"),
-};
-
 %]