diff --git a/local/alpha/config/vufind/HierarchyDefault.ini b/local/alpha/config/vufind/HierarchyDefault.ini new file mode 100644 index 0000000000000000000000000000000000000000..06bc3f0268cfd4e422b61b98b1f4d95abc87211b --- /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 0000000000000000000000000000000000000000..5c1f58595e450f7fa6251e067620a4852d791202 --- /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 0000000000000000000000000000000000000000..d3ac9fdf67f1572390f5b21c50d6284d25b5a0d6 --- /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 #################### +;####################################################################