From c5d5ce93770b03280435c2f657bef3273387ac6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Lahmann?= <lahmann@ub.uni-leipzig.de>
Date: Thu, 15 Jan 2015 16:13:02 +0100
Subject: [PATCH] * updated configs with settings from generic vufind1.x-config
 * added finc-specific, custom section [InstitutionInfo] to local/config.ini
 to provide isil and other information for the specific library

---
 local/config/vufind/config.ini   | 110 ++++++++++++++++++-------------
 local/config/vufind/facets.ini   |   5 +-
 local/config/vufind/searches.ini |  23 ++++---
 3 files changed, 80 insertions(+), 58 deletions(-)

diff --git a/local/config/vufind/config.ini b/local/config/vufind/config.ini
index 30c84dc4b66..65a23518637 100644
--- a/local/config/vufind/config.ini
+++ b/local/config/vufind/config.ini
@@ -18,9 +18,9 @@ autoConfigure = true
 [Site]
 ; Base URL is normally auto-detected, but this setting is used when autodetection is
 ; not possible (i.e. during sitemap generation at the command line).
-url             = http://library.myuniversity.edu/vufind
-email           = support@myuniversity.edu
-title           = "Library Catalog"
+url             = http://localhost/vufind_generic
+email           = team@
+title           = "Generic Katalog (devel)"
 ; This is the default theme for non-mobile devices (or all devices if mobile_theme
 ; is disabled below). Available standard themes:
 ;   blueprint =  XHTML theme using Blueprint + jQuery libraries
@@ -52,14 +52,14 @@ theme           = blueprint
 ;selectable_themes = "standard:Standard Theme,mobile:Mobile Theme"
 ; Use the browser language setting to set the VuFind language.
 browserDetectLanguage = true
-language        = en    ; default -- more options available in [Languages] below.
-locale          = en_US
+language        = de    ; default -- more options available in [Languages] below.
+locale          = de_DE
 ; Find valid timezone values here:
 ;   http://www.php.net/manual/en/timezones.php
-timezone        = "America/New_York"
+timezone        = "Europe/Berlin"
 ; A string used to format user interface date strings using the PHP date() function
 ; default is m-d-Y (MM-DD-YYYY 01-01-2010)
-displayDateFormat = "m-d-Y"
+displayDateFormat = "d.m.Y"
 ; A string used to format user interface time strings using the PHP date() function
 ; default is H:i (HH:MM 23:01)
 displayTimeFormat = "H:i"
@@ -77,7 +77,7 @@ defaultRecordTab= Holdings
 ; Hide the holdings tab if no holdings are available from the ILS
 hideHoldingsTabWhenEmpty = false
 ; This page will show by default when a user accesses the MyResearch module:
-defaultAccountPage = Favorites
+defaultAccountPage = Profile
 ; Allow access to the Admin module? (See [AdminAuth] below for more granular ways
 ; to restrict Admin access).
 admin_enabled = false
@@ -87,7 +87,7 @@ sidebarOnLeft = false
 ; only supported by the blueprint theme; other themes will ignore this setting.
 showBookBag = false
 ; Set the maximum amount of items allowed in the Book Bag - Default is 100
-bookBagMaxSize = 100
+bookBagMaxSize = 20
 ; Generator value to display in an HTML header <meta> tag:
 generator = "VuFind 2.3"
 
@@ -97,7 +97,7 @@ generator = "VuFind 2.3"
 ; such settings are named with an obvious prefix.  Non-prefixed settings
 ; are global to all handlers.
 [Session]
-type                        = File
+type                        = MySQLSession
 lifetime                    = 3600 ; Session lasts for 1 hour
 ; Keep-alive interval in seconds. When set to a positive value, the session is kept
 ; alive with a JavaScript call as long as a VuFind page is open in the browser.
@@ -133,7 +133,7 @@ lifetime                    = 3600 ; Session lasts for 1 hour
 driver          = Sample
 
 ;loadNoILSOnFailure - Whether or not to load the NoILS driver if the main driver fails
-loadNoILSOnFailure = false
+loadNoILSOnFailure = true
 
 ; This setting determines how and when hold / recall links are displayed.
 ; Legal values:
@@ -157,7 +157,7 @@ allow_holds_override = false
 
 ; Determines if holds can be cancelled or not. Options are true or false.
 ; default is false
-cancel_holds_enabled = false
+cancel_holds_enabled = true
 
 ; Determines if storage retrieval requests can be cancelled or not.
 ; Options are true or false.
@@ -171,7 +171,7 @@ cancel_ill_requests_enabled = false
 
 ; Determines if item can be renewed or not. Options are true or false.
 ; default is false
-renewals_enabled = false
+renewals_enabled = true
 
 ; Determines if title level holds are displayed or not.
 ; Legal values:
@@ -238,7 +238,7 @@ recover_hash_lifetime = 1209600
 change_password = true
 
 ; Set this to false if you would like to store catalog passwords in plain text
-encrypt_ils_password = false
+encrypt_ils_password = true
 
 ; This is the key used to encrypt and decrypt catalog passwords.  This must be
 ; filled in with a random string value when encrypt_ils_passwords is set to true.
@@ -496,7 +496,8 @@ database          = mysql://root@localhost/vufind
 ; You can select Syndetics, LibraryThing, Summon, Amazon, Booksite, OpenLibrary,
 ; Contentcafe and/or Google Books.
 ;   Note: Summon service takes a Serials Solutions client key, NOT Summon API key!
-;coverimages     = Syndetics:MySyndeticsId,Amazon:MyAccessKeyId,Booksite,LibraryThing:MyLibraryThingId,Google,OpenLibrary,Summon:MySerialsSolutionsClientKey,Contentcafe:MyContentCafeID
+coverimages     = OpenLibrary,Google,LibraryThing:7710c07c4a8c66b217b0d39e6c33abe0
+;Syndetics:MySyndeticsId,Amazon:MyAccessKeyId,Booksite,LibraryThing:MyLibraryThingId,Google,OpenLibrary,Summon:MySerialsSolutionsClientKey,Contentcafe:MyContentCafeID
 
 ; This setting controls which services will have images cached on your local disk.
 ; Set to true to cache all applicable services. Set to false to disable caching. Set
@@ -749,10 +750,10 @@ url             = https://www.myendnoteweb.com/EndNoteWeb.html
 enabled = true
 ; Number of suggestions to display on screen. This list is filtered from
 ;   the number set in solr/biblio/conf/solrconfig.xml so they can differ.
-limit   = 3
+limit   = 5
 ; Show the full modified search phrase on screen
 ;   rather then just the suggested word
-phrase = false
+phrase = true
 ; Offer expansions on terms as well as basic replacements
 expand  = true
 ; Turning on 'simple' spell checking will improve performance,
@@ -836,29 +837,29 @@ skip_numeric = true
 en          = "English"              ; American spellings
 ;en-gb       = "English"              ; British spellings
 de          = "German"
-es          = "Spanish"
-fr          = "French"
-it          = "Italian"
-ja          = "Japanese"
-nl          = "Dutch"
-pt          = "Portuguese"
-pt-br       = "Brazilian Portugese"
-zh-cn       = "Simplified Chinese"
-zh          = "Chinese"
-tr          = "Turkish"
-he          = "Hebrew"
-ga          = "Irish"
-cy          = "Welsh"
-el          = "Greek"
-ca          = "Catalan"
-eu          = "Basque"
-ru          = "Russian"
-cs          = "Czech"
-fi          = "Finnish"
-sv          = "Swedish"
-pl          = "Polish"
-da          = "Danish"
-sl          = "Slovene"
+;es          = "Spanish"
+;fr          = "French"
+;it          = "Italian"
+;ja          = "Japanese"
+;nl          = "Dutch"
+;pt          = "Portuguese"
+;pt-br       = "Brazilian Portugese"
+;zh-cn       = "Simplified Chinese"
+;zh          = "Chinese"
+;tr          = "Turkish"
+;he          = "Hebrew"
+;ga          = "Irish"
+;cy          = "Welsh"
+;el          = "Greek"
+;ca          = "Catalan"
+;eu          = "Basque"
+;ru          = "Russian"
+;cs          = "Czech"
+;fi          = "Finnish"
+;sv          = "Swedish"
+;pl          = "Polish"
+;da          = "Danish"
+;sl          = "Slovene"
 
 ; This section controls the behavior of the Browse module.  The result_limit
 ; setting controls the maximum number of results that may display in any given
@@ -890,10 +891,11 @@ era             = true      ; allow browsing of era subdivisions
 RefWorks = true
 EndNote = true
 EndNoteWeb = true
-MARC = false
-MARCXML = false
-RDF = false
-BibTeX = false
+MARC = true
+MARCXML = true
+RDF = true
+BibTeX = true
+;TXT = true
 
 ; This section controls whether or not display the bulk export options and which
 ; options to display.  Valid methods are EndNote and MARC - The method must also
@@ -916,7 +918,7 @@ options = MARC:MARCXML:EndNote:EndNoteWeb:RefWorks:BibTeX
 ;     msg   = show a message like "Multiple Call Numbers" or "Multiple Locations"
 ;     group = show availability statuses for each location on a separate line,
 ;             followed by callnumber information (valid for multiple_locations only)
-multiple_call_nos = first
+multiple_call_nos = msg
 multiple_locations = msg
 ; Show the full location,call number, availability for each item
 ; You can customize the way each item's status is display in AJAX/status-full.tpl
@@ -927,7 +929,7 @@ show_full_status = false
 [Record]
 ; Set this to true in order to enable "next" and "previous" links to navigate
 ; through the current result set from within the record view.
-next_prev_navigation = false
+next_prev_navigation = true
 
 ; You can enable this setting to show links to related MARC records using certain
 ; 7XX fields. Just enter a comma-separated list of the MARC fields that you wish
@@ -1056,7 +1058,7 @@ HMACkey = mySuperSecretValue
 ; field of the Solr index.
 driver = Default
 ; Should we display hierarchy trees? (default = false)
-;showTree = true
+showTree = true
 ; "Search within trees" can be disabled here if set to "false" (default = true)
 search = true
 ; You can limit the number of search results highlighted when searching the tree;
@@ -1132,3 +1134,17 @@ tags = enabled
 ; This controls the maximum length of a single tag; it should correspond with the
 ; field size in the tags database table.
 max_tag_length = 64
+
+; *****************
+; * BOF finc
+; *****************
+; This section allows to set identifiers and other information which are specific 
+; for the library.
+;[InstitutionInfo]
+;bibid = "UBL"
+;sigel = "15"
+;isil = "DE-15"
+;bik = "952000-4"
+; *****************
+; * EOF finc
+; *****************
diff --git a/local/config/vufind/facets.ini b/local/config/vufind/facets.ini
index 0058254d654..a36156c3535 100644
--- a/local/config/vufind/facets.ini
+++ b/local/config/vufind/facets.ini
@@ -100,14 +100,13 @@ topic_facet = "Related Subjects"
 [Advanced]
 ;callnumber-first = "Call Number"
 ;language         = Language
-;format           = Format
+branch_de15	     = Zweigbibliothek
+format           = Format
 
 ;BOF-VuFind2
 ;hierarchy_top_title   = Collections
 ;EOF-VuFind2
 
-branch_de15	 = Zweigbibliothek
-
 ; These settings affect the way the [Advanced] facets are displayed
 [Advanced_Settings]
 facet_limit      = 100      ; how many values should we show for each facet?
diff --git a/local/config/vufind/searches.ini b/local/config/vufind/searches.ini
index 41238e7ecef..d6bf5d9958e 100644
--- a/local/config/vufind/searches.ini
+++ b/local/config/vufind/searches.ini
@@ -19,7 +19,7 @@ default_view         = list
 ; WARNING: using large limits may require you to raise your PHP memory limits to
 ; avoid errors.
 default_limit        = 20
-;limit_options        = 10,20,40,60,80,100
+limit_options        = 10,20,40,60,80,100
 
 ; If this setting is true, boolean operators in searches (AND/OR/NOT) will only
 ; be recognized if they are ALL UPPERCASE.  If set to false, they will be
@@ -93,9 +93,11 @@ AllFields           = "All Fields"
 Title               = Title
 ;JournalTitle        = "Journal Title"
 Author              = Author
-Subject             = Subject
-CallNumber          = "Call Number"
+;Subject             = Subject
+;CallNumber          = "Call Number"
 ISN                 = "ISBN/ISSN"
+Signatur            = "Call Number"
+Barcode             = Barcode
 tag                 = Tag
 
 ; This section defines which search options will be included on the advanced
@@ -105,12 +107,16 @@ AllFields           = adv_search_all
 Title               = adv_search_title
 ;JournalTitle        = adv_search_journaltitle
 Author              = adv_search_author
+rvk_facet           = "RVK-Notation"
 Subject             = adv_search_subject
-CallNumber          = adv_search_callnumber
-ISN                 = adv_search_isn
-publisher           = adv_search_publisher
+;CallNumber          = adv_search_callnumber
 Series              = adv_search_series
+publisher           = adv_search_publisher
+publishPlace        = adv_search_publishPlace
 year                = adv_search_year
+ISN                 = adv_search_isn
+Signatur            = "Call Number"
+Barcode             = Barcode
 toc                 = adv_search_toc
 
 ; This section defines the sort options available on standard search results.
@@ -133,7 +139,7 @@ year asc = "sort_year asc"
 ; Use the "callnumber" line for LC or the "dewey-sort" line for Dewey Decimal.
 ; If you want to enable both systems for sorting, you can uncomment both lines,
 ; but you will need to add some custom text to distinguish between the two.
-callnumber = sort_callnumber
+;callnumber = sort_callnumber
 ;dewey-sort = sort_callnumber
 
 author = sort_author
@@ -457,7 +463,7 @@ tag = "Tag"
 author2 = "Other Authors"
 contents = "Table of Contents"
 topic = "Subjects"
-container_title = "Journal Title"
+;container_title = "Journal Title"
 
 ; This section allows sharding to be used to pull in content from additional Solr
 ; servers.  All servers used in sharding must contain the same index fields needed
@@ -515,6 +521,7 @@ container_title = "Journal Title"
 [RawHiddenFilters]
 ;0 = "format:\"Book\" OR format:\"Journal\""
 ;1 = "language:\"English\" OR language:\"French\""
+;0 = "institution:\"DE-15\" OR institution:\"DE-15-292\" OR institution:\"DE-15-100\""
 
 ; This section defines how records are handled when being fetched from Solr.
 ;[Records]
-- 
GitLab