]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/opac/parts/config.tt2
TPac: Advanced Search Config
[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 # RefWorks configuration
10 ##############################################################################
11 # RefWorks is a Web-based citation manager
12 ctx.refworks.enabled = 'false';
13
14 # Base URL for RefWorks
15 ctx.refworks.url = 'http://www.refworks.com';
16
17 # Some sites have a hosted RefWorks instance at a different URL;
18 # in addition, you might want to proxy access to RefWorks - for example:
19 # ctx.refworks.url = 'http://librweb.laurentian.ca/login?url=http://refworks.scholarsportal.info';
20
21 ##############################################################################
22 # OpenURL resolution
23 ##############################################################################
24 # Evergreen provides the ability to point at an OpenURL resolver to find
25 # electronic resources for a given ISSN or ISBN. Currently, only the SFX
26 # resolver is supported.
27 #
28 # You must enable the open-ils.resolver instance in opensrf.xml to use
29 # this feature.
30 ##############################################################################
31
32 openurl.enabled = 'false';
33 openurl.baseurl = 'http://sfx.example.com/instance';
34
35 ##############################################################################
36 # Google Analytics support
37 ##############################################################################
38 # You can enable Google Analytics support in Evergreen by entering a
39 # valid Google Analytics code and changing 'false' to 'true'
40 ##############################################################################
41 google_analytics.enabled = 'false';
42 google_analytics.code = 'UA-9999999-99';
43
44 ##############################################################################
45 # Enable "Forgot your password?" prompt at login
46 ##############################################################################
47 reset_password = 'true';
48
49 ##############################################################################
50 # Misc. UI Settings
51 ##############################################################################
52
53 ##############################################################################
54 # Size of the jacket image to display on the record detail summary.
55 # Sizes vary depending on added content provider.
56 # Options are "small", "medium", and "large"
57 record.summary.jacket_size = 'medium';
58
59
60 ##############################################################################
61 # Define the order in which facets are displayed.  Only facets listed here 
62 # will be displayed.  To show all facets sorted by name, comment out this 
63 # setting.  
64 # facet.display = [] # show no facets
65 facet.display = [
66     {facet_class => 'author',  facet_order => ['personal', 'corporate']},
67     {facet_class => 'subject', facet_order => ['topic']},
68     {facet_class => 'series',  facet_order => ['seriestitle']},
69     {facet_class => 'subject', facet_order => ['name', 'geographic']}
70 ];
71
72 ##############################################################################
73 # Define the advanced search limiters and labels.
74 # adv_label is the (translated) label for the limiter
75 # adv_attr is an array of possible limiters, the first one that has any
76 #   values will be used
77 # adv_break will end the current row. If specified with a label/attr it
78 #   will do so *after* that limiter.
79 # adv_special will drop in a special entry:
80 #   lib_selector will put the search library box (with limit to available)
81 #   pub_year will put the publication year box
82 #   sort_selector will put the sort results selector
83
84 search.adv_config = [
85     {adv_label => l("Item Type"), adv_attr => ["mattype", "item_type"]},
86     {adv_label => l("Item Form"), adv_attr => "item_form"},
87     {adv_label => l("Language"),  adv_attr => "item_lang"},
88     {adv_label => l("Audience"),  adv_attr => ["audience_group", "audience"], adv_break => 1},
89     {adv_label => l("Video Format"), adv_attr => "vr_format"},
90     {adv_label => l("Bib Level"), adv_attr => "bib_level"},
91     {adv_label => l("Literary Form"), adv_attr => "lit_form", adv_break => 1},
92     {adv_label => l("Search Library"), adv_special => "lib_selector"},
93     {adv_label => l("Publication Year"), adv_special => "pub_year"},
94     {adv_label => l("Sort Results"), adv_special => "sort_selector"},
95 ];
96
97 ##############################################################################
98 # For each search box the default "query type" value can be specified here
99 # This is the actual backend value, not the label
100 # Also note that including more than the row count entries won't add rows
101 # The first entry should be used as a default for "basic" search as well
102
103 search.default_qtypes = ['keyword','title','author'];
104
105 %]