From d211a520f0dde2ccc9ed0c7a7e1a540312eb1016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lahmann?= <lahmann@ub.uni-leipzig.de> Date: Wed, 28 Jan 2015 13:39:32 +0100 Subject: [PATCH] * added default HierarchyDefault.ini files --- .../alpha/config/vufind/HierarchyDefault.ini | 22 ++++++++++++ local/config/vufind/HierarchyDefault.ini | 36 +++++++++++++++++++ .../config/vufind/HierarchyDefault.ini.sample | 22 ++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 local/alpha/config/vufind/HierarchyDefault.ini create mode 100644 local/config/vufind/HierarchyDefault.ini create mode 100644 local/dev/config/vufind/HierarchyDefault.ini.sample diff --git a/local/alpha/config/vufind/HierarchyDefault.ini b/local/alpha/config/vufind/HierarchyDefault.ini new file mode 100644 index 00000000000..06bc3f0268c --- /dev/null +++ b/local/alpha/config/vufind/HierarchyDefault.ini @@ -0,0 +1,22 @@ +;#################################################################### +;##################### DO NOT DELETE THIS HEADER #################### +;################### Leipzig University Library © 2015 ############## +; +; This is the default ALPHA-INI-file and inherits +; all the settings from the INI-file defined in [Parent_Config] which +; points to the default INI-file located in the folder vufind2/local +; + +[Parent_Config] +relative_path = ../../../config/vufind/HierarchyDefault.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 = "Languages,AlphaBrowse_Types" + +; +; Add ALPHA-specific customization after this header. +; +;##################### DO NOT DELETE THIS HEADER #################### +;#################################################################### diff --git a/local/config/vufind/HierarchyDefault.ini b/local/config/vufind/HierarchyDefault.ini new file mode 100644 index 00000000000..5c1f58595e4 --- /dev/null +++ b/local/config/vufind/HierarchyDefault.ini @@ -0,0 +1,36 @@ +[Collections] +; What determines which records get linked to the Collection module instead of the +; Record module? Legal values: +; All - any record with is_hierarchy set +; Top - any record where is_hierarchy = hierarchy_top +; None - never link to the collection module +link_type = "Top" + +[HierarchyTree] +; Are hierarchy trees visible? -- true or false (default false) +show = true +; The source of the hierarchy data -- may be Solr or XMLFile +treeSource = Solr +; When using Solr as a treeSource, this value determines how long tree data is +; cached (in seconds, or -1 to never expire) -- default 12h +solrCacheTime = 43200 +; When using XMLFile as a treeSource, this value specifies where tree data is found +;XMLFileDir = /usr/local/vufind/hierarchy_xml +; Sorting requires the hierarchy_sequence field to be populated; defaults to false +sorting = true +; Which Tree Renderer to Use - Default is JSTree +treeRenderer = JSTree +; Control whether or not to display the full hierarchy tree in record mode +; (true = show full hierarchy, false = only show path to current selected node, +; default = true) +fullHierarchyRecordView = true +; Filter queries filter what kind of children are displayed in the tree +; Note: The hidden filters from searches.ini are applied as well +; Note: Only applies when treeSource = Solr +;filterQueries[] = "-relsext.hasModel:\"DataModel\" AND -relsext.hasModel:\"ListCollection\"" +; Check whether the hierarchy_parent_id and hierarchy_top_id records are +; available in the index. If a referenced parent_id or top_id does not +; exist the frontend will show HierarchyTree layout-elements but will +; hang on acutally building the HierarchyTree. +; (default = true) +checkAvailability = true \ No newline at end of file diff --git a/local/dev/config/vufind/HierarchyDefault.ini.sample b/local/dev/config/vufind/HierarchyDefault.ini.sample new file mode 100644 index 00000000000..d3ac9fdf67f --- /dev/null +++ b/local/dev/config/vufind/HierarchyDefault.ini.sample @@ -0,0 +1,22 @@ +;#################################################################### +;##################### DO NOT DELETE THIS HEADER #################### +;################### Leipzig University Library © 2015 ############## +; +; This is the default DEV-INI-file and inherits +; all the settings from the INI-file defined in [Parent_Config] which +; points to the default INI-file located in the folder vufind2/local +; + +[Parent_Config] +relative_path = ../../../config/vufind/HierarchyDefault.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 = "Languages,AlphaBrowse_Types" + +; +; Add DEV-specific customization after this header. +; +;##################### DO NOT DELETE THIS HEADER #################### +;#################################################################### -- GitLab