]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/opac/parts/config.tt2
509d6a13059a6010df1ef231f497060b676b5946
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / config.tt2
1 [% 
2
3 ##############################################################################
4 # This file contains skin-level configuration settings.
5 # Many of these settings will probably migrate into actor.org_unit_settings.
6 ##############################################################################
7
8 ##############################################################################
9 # Holds blocking
10 ##############################################################################
11 # Prevent the "Place hold" link from being displayed if a copy is available.
12 # This is not perfect, given the umpteen different types of holds that are
13 # possible, but addresses the major use case for libraries that don't want
14 # to fetch copies from the shelves.
15 ctx.holds_block.enabled = 'false';
16
17 ##############################################################################
18 # RefWorks configuration
19 ##############################################################################
20 # RefWorks is a Web-based citation manager
21 ctx.refworks.enabled = 'false';
22
23 # Base URL for RefWorks
24 ctx.refworks.url = 'http://www.refworks.com';
25
26 # Some sites have a hosted RefWorks instance at a different URL;
27 # in addition, you might want to proxy access to RefWorks - for example:
28 # ctx.refworks.url = 'http://librweb.laurentian.ca/login?url=http://refworks.scholarsportal.info';
29
30 ##############################################################################
31 # OpenURL resolution
32 ##############################################################################
33 # Evergreen provides the ability to point at an OpenURL resolver to find
34 # electronic resources for a given ISSN or ISBN. Currently, only the SFX
35 # resolver is supported.
36 #
37 # You must enable the open-ils.resolver instance in opensrf.xml to use
38 # this feature.
39 ##############################################################################
40
41 openurl.enabled = 'false';
42 openurl.baseurl = 'http://sfx.example.com/instance';
43
44 ##############################################################################
45 # Google Analytics support
46 ##############################################################################
47 # You can enable Google Analytics support in Evergreen by entering a
48 # valid Google Analytics code and changing 'false' to 'true'
49 ##############################################################################
50 google_analytics.enabled = 'false';
51 google_analytics.code = 'UA-9999999-99';
52
53 ##############################################################################
54 # Enable "Forgot your password?" prompt at login
55 ##############################################################################
56 reset_password = 'true';
57
58 ##############################################################################
59 # Hide various options from user preferences that you might not want to expose
60 # if you rely on centralized authentication via open-ils.auth_proxy, like LDAP
61 #
62 # Username changes can be disabled by the opac.lock_usernames OU setting.
63 ##############################################################################
64 disable_password_change = 'false';
65 disable_email_change = 'false';
66
67 ##############################################################################
68 # Some libraries do not do notifications by phone; if not true, then this
69 # hides the user preference for phone notifications as well as the phone
70 # notification portion of the hold dialogue
71 ##############################################################################
72 allow_phone_notifications = 'true';
73
74 ##############################################################################
75 # Misc. UI Settings
76 ##############################################################################
77
78 ##############################################################################
79 # Size of the jacket image to display on the record detail summary.
80 # Sizes vary depending on added content provider.
81 # Options are "small", "medium", and "large"
82 record.summary.jacket_size = 'medium';
83
84
85 ##############################################################################
86 # Define the order in which facets are displayed.  Only facets listed here 
87 # will be displayed.  To show all facets sorted by name, comment out this 
88 # setting.  
89 # facet.display = [] # show no facets
90 facet.display = [
91     {facet_class => 'author',  facet_order => ['personal', 'corporate']},
92     {facet_class => 'subject', facet_order => ['topic']},
93     {facet_class => 'series',  facet_order => ['seriestitle']},
94     {facet_class => 'subject', facet_order => ['name', 'geographic']}
95 ];
96 facet.default_display_count = 5;
97
98 ##############################################################################
99 # Define the advanced search limiters and labels.
100 # Each entry is put into a table cell.
101 # adv_label is the (translated) label for the limiter
102 # adv_attr is an array of possible limiters, the first one that has any
103 #   values will be used
104 # adv_filter is the same as adv_attr, but for search filter groups
105 # adv_size lets you set the height of the adv_attr or adv_filter select box.
106 # if adv_size < 1, the box height is set to the number of options in it.
107 # adv_break will end the current row. If specified with a label/attr it
108 #   will do so *after* that limiter.
109 # adv_special will drop in a special entry:
110 #   lib_selector will put the search library box (with limit to available)
111 #   pub_year will put the publication year box
112 #   sort_selector will put the sort results selector
113
114 search.adv_config = [
115     {adv_label => l("Item Type"), adv_attr => ["mattype", "item_type"]},
116     {adv_label => l("Item Form"), adv_attr => "item_form"},
117     {adv_label => l("Language"),  adv_attr => "item_lang"},
118     {adv_label => l("Audience"),  adv_attr => ["audience_group", "audience"], adv_break => 1},
119     {adv_label => l("Video Format"), adv_attr => "vr_format"},
120     {adv_label => l("Bib Level"), adv_attr => "bib_level"},
121     {adv_label => l("Literary Form"), adv_attr => "lit_form"},
122     {adv_label => l("Shelving Location"), adv_special => "copy_location", js_only => 1, adv_break => 1},
123     {adv_label => l("Search Library"), adv_special => "lib_selector"},
124     {adv_label => l("Publication Year"), adv_special => "pub_year"},
125     {adv_label => l("Sort Results"), adv_special => "sort_selector"},
126 ];
127
128 # Set the default height of the select boxes. Defaults to 4.
129 #search.default_adv_select_height = 4;
130
131 ##############################################################################
132 # For each search box the default "query type" value can be specified here
133 # This is the actual backend value, not the label
134 # Also note that including more than the row count entries won't add rows
135 # The first entry should be used as a default for "basic" search as well
136
137 search.default_qtypes = ['keyword','title','author'];
138
139 ##############################################################################
140 # Basic Search Box definition
141 # This allows selection of what, exactly, basic search uses for a selection
142 # box. Previously it was hardcoded to use an attr box of mattype or item_type.
143 #
144 # type can be "attr" or "filter"
145 # group is the attr or filter entries you want to check for
146 # none_label is the label for the default nothing selected entry.
147
148 search.basic_config = {
149     type => 'attr',
150     group => [ctx.get_cgf('opac.icon_attr').value, 'item_type'],
151     none_label => l("All Formats"),
152 };
153
154 ##############################################################################
155 # Show Google Book Previews
156 # Set to 1 or 'true' to enable
157 ctx.google_books_preview = 0;
158
159 ##############################################################################
160
161 # Set a maintenance message to display in the catalogue
162 #
163 # ctx.maintenance_message = "The system will not be available February 29, 2104.";
164
165
166 ##############################################################################
167 # Metarecords configuration
168 # metarecords.disabled = 1; # disable all metarecord access points
169 ##############################################################################
170
171
172 %]