diff --git a/adlr_link/config/vufind/Collection.ini b/adlr_link/config/vufind/Collection.ini new file mode 100644 index 0000000000000000000000000000000000000000..eee360eb5fc3c98a51bdeb57b12e85e130ddbb2c --- /dev/null +++ b/adlr_link/config/vufind/Collection.ini @@ -0,0 +1,57 @@ +;#################################################################### +;##################### DO NOT DELETE THIS HEADER #################### +;################### Leipzig University Library © 2015 ############## +; +; This is the ISIL-instance-specific DEV-INI-file and inherits +; all the settings from the INI-file defined in [Parent_Config] which +; points to the ISIL-instance-specific default INI-file located in +; the folder vufind2/ISIL/config/vufind +; + +[Parent_Config] +relative_path = ../../../local/config/vufind/Collection.ini + +; A comma-separated list of config sections from the parent which should be +; completely overwritten by the equivalent sections in this configuration; +; any sections not listed here will be merged on a section-by-section basis. +;override_full_sections = "InstitutionInfo" + +; +; Add DEV-specific customization after this header. +; +;##################### DO NOT DELETE THIS HEADER #################### +;#################################################################### + +; This file controls the Collection module (the page accessed by viewing a record +; which is a collection). + +; These settings control the top and side recommendations (see searches.ini for +; details on recommendation modules). +[Recommend] +;top[] = "PubDateVisAjax:true:publishDate" +side[] = "CollectionSideFacets:Facets::Collection:true" + +; This is a facet section similar to those found in facets.ini, but this is used for +; the Collection module screen. +[Facets] +geographic_facet = Location +topic_facet = Subjects +author_facet = Author +hierarchy_parent_title = Subcollection +genre_facet = Genre +era_facet = Era +publishDate = "adv_search_year" ; share year string w/advanced search page + +; This section is used to identify facets for special treatment by the SideFacets +; recommendations module. +[SpecialFacets] +; Any fields listed below will be treated as date ranges rather than plain facets: +dateRange[] = publishDate + +; These settings control which fields are available to sort on in the Collection +; module. +[Sort] +title = sort_title +year = sort_year +year asc = "sort_year asc" +author = sort_author \ No newline at end of file diff --git a/adlr_link/config/vufind/config.ini b/adlr_link/config/vufind/config.ini index 83fc9642aa9bbc304184667ee597634562e33e2b..f0f06792be666558a6bca75676908fedd53af4a3 100644 --- a/adlr_link/config/vufind/config.ini +++ b/adlr_link/config/vufind/config.ini @@ -28,6 +28,13 @@ title = "adlr.link - Literatur für Kommunikations- und Medienwissenschaftler" [Catalog] driver = NoILS +[Collections] +collections = true + +[Content] +;coversize[result-list] = medium +showStyleBasedIcons = false + ; ***************** ; * BOF finc ; ***************** diff --git a/adlr_link/config/vufind/facets.ini b/adlr_link/config/vufind/facets.ini index dd49c3af681cbe163c81be58d5710ca300ecae6a..4660937f0a7294eb038294d0709dde50aa433841 100644 --- a/adlr_link/config/vufind/facets.ini +++ b/adlr_link/config/vufind/facets.ini @@ -22,5 +22,3 @@ override_full_sections = "HomePage" ;#################################################################### [HomePage] -mega_collection = "Kollektion" -format_de15 = "Medientyp" \ No newline at end of file diff --git a/adlr_link/config/vufind/searches.ini b/adlr_link/config/vufind/searches.ini index 3df301bea66c1c5d398bc12894e5818eee0d1849..438ac2e78cbdeb04e61e4722ef22ba1097aee558 100644 --- a/adlr_link/config/vufind/searches.ini +++ b/adlr_link/config/vufind/searches.ini @@ -22,10 +22,32 @@ relative_path = ../../../local/config/vufind/searches.ini ;#################################################################### [RawHiddenFilters] -0 = "institution:\"DE-15-FID\" OR source_id:(73 OR 75 )" +0 = "institution:DE-15-FID OR source_id:( 75 OR 95 OR 109)" +1 = -source_id:39 [IndexShards] -ai = ai.ub.uni-leipzig.de/solr/biblio +ai = "ai.ub.uni-leipzig.de/solr/biblio" +main = "172.18.113.250:8080/solr/biblio" +solr4entw = "172.18.85.142:8085/solr/biblio" [ShardPreferences] -showCheckboxes = false \ No newline at end of file +defaultChecked[0] = "ai" +defaultChecked[1] = "main" +showCheckboxes = false + +[RSS] +sort = "date_de15 desc" + +[Basic_Searches] +AllFields = "All Fields" +Title = "Title" +Author = "Author" +Signatur = "Call Number" +Barcode = "Barcode" +ISN = "ISBN/ISSN/ISMN" + +[AuthorModuleRecommendations] +side[] = "SideFacets:Results:CheckboxFacets" + +[General] +highlighting_fields = topic, topic_ref, title_alt, title_new, title_old, series2, contents, fulltext, rvk_label, author_ref, author_corp_ref, author_variant, author2_variant, author_orig, author2_orig, author_corporate_orig, author_corporate2_orig diff --git a/adlr_link/dev/config/vufind/Collection.ini.sample b/adlr_link/dev/config/vufind/Collection.ini.sample new file mode 100644 index 0000000000000000000000000000000000000000..cc22781999b584057b202e53c677cdf89252c47f --- /dev/null +++ b/adlr_link/dev/config/vufind/Collection.ini.sample @@ -0,0 +1,23 @@ +;#################################################################### +;##################### DO NOT DELETE THIS HEADER #################### +;################### Leipzig University Library © 2015 ############## +; +; This is the ISIL-instance-specific DEV-INI-file and inherits +; all the settings from the INI-file defined in [Parent_Config] which +; points to the ISIL-instance-specific default INI-file located in +; the folder vufind2/ISIL/config/vufind +; + +[Parent_Config] +relative_path = ../../../config/vufind/Collection.ini + +; A comma-separated list of config sections from the parent which should be +; completely overwritten by the equivalent sections in this configuration; +; any sections not listed here will be merged on a section-by-section basis. +;override_full_sections = "InstitutionInfo" + +; +; Add DEV-specific customization after this header. +; +;##################### DO NOT DELETE THIS HEADER #################### +;#################################################################### diff --git a/adlr_link/dev/httpd-vufind.conf.sample b/adlr_link/dev/httpd-vufind.conf.sample index 70c08b36dadc4f497da5b3fde51e49a2a6de073e..ab8f591cbddc4862facdb69faf4a0f95db430ea5 100644 --- a/adlr_link/dev/httpd-vufind.conf.sample +++ b/adlr_link/dev/httpd-vufind.conf.sample @@ -53,7 +53,7 @@ Alias / /usr/local/vufind2/public/ # This line points to the local override directory where you should place your customized files # to override VuFind core features/settings. Set to blank string ("") to disable. - SetEnv VUFIND_LOCAL_DIR /usr/local/vufind2/local/dev + SetEnv VUFIND_LOCAL_DIR /usr/local/vufind2/adlr_link/dev # This line specifies additional Zend Framework 2 modules to load after the standard VuFind module. # Multiple modules may be specified separated by commas. This mechanism can be used to override diff --git a/docker-compose.yml b/docker-compose.yml index 35d300e4ce048551253e5a91cc6ebc8fa71a1a2d..93308f2ea55227515c5a0abbec26619942e11d02 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: #- SHIB_IDP_ENTITY_ID=https://shib02.hmt-leipzig.de/idp/shibboleth #- SHIB_HOSTNAME=https://141.39.229.5:443 - VUFIND_SOLR=remote - - VUFIND_HTTPD_CONF=local/dev/httpd-vufind.conf + - VUFIND_HTTPD_CONF=adlr_link/dev/httpd-vufind.conf - SMTP_HOST=smtp - SMTP_NAME=vufind3 - SMTP_PORT=25