Skip to content
Snippets Groups Projects
Commit 32a87e84 authored by Alexander Purr's avatar Alexander Purr Committed by André Lahmann
Browse files

refs #22208 [fid_adlr]

* vf6: move tab configuration into ini-file
** see also refs #21611
** inheriting fid_adlr ini files from fid
** only record tab definition has moved into RecordTabs.ini
** collection tab definition was removed, exactly the same as in finc
* remove redundant invokables from module.config.php
** same as in finc's module.config.php
parent 4da066aa
No related merge requests found
;####################################################################
;##################### DO NOT DELETE THIS HEADER ####################
;################### Leipzig University Library © 2022 ##############
;
; This is the ISIL-instance-specific default 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 = ../../../fid/config/vufind/CollectionTabs.ini
; This file controls the tab display in the Collection view (as opposed to the
; single record view). The structure is identical to RecordTabs.ini; see the
; comments in that file for details on the meanings of the various settings.
\ No newline at end of file
;####################################################################
;##################### DO NOT DELETE THIS HEADER ####################
;################### Leipzig University Library © 2022 ##############
;
; This is the ISIL-instance-specific default 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 = ../../../fid/config/vufind/RecordTabs.ini
; This file controls the display of tabs on the Record page for various types of
; records. Each section name matches a record driver class name, and those settings
; will be used when displaying that type of record. If no settings are found for a
; particular class, its parent classes will be checked in turn; thus, you could set
; up global defaults using a [VuFind\RecordDriver\AbstractBase] section.
;
; Within each section, the following settings are supported:
;
; tabs[X] = Y -- This activates a tab, using "X" to identify that tab in the URL,
; and using a service named "Y" loaded from the RecordTab plugin
; manager. The order of tabs entries controls display order.
; defaultTab -- This matches an "X" value from a tabs setting, and controls which
; tab is active by default. If empty, the global default tab setting
; (defaultRecordTab) from config.ini will be used.
; backgroundLoadedTabs[] -- This repeatable setting can be used to identify tabs
; that should be asynchronously loaded in the background to improve
; performance. Use the "X" value from the tabs setting as the id.
[finc\RecordDriver\SolrDefault]
tabs[Description] = Description
tabs[Holdings] = HoldingsILS
tabs[AcquisitionPDA] = AcquisitionPDA
tabs[TOC] = TOC
tabs[UserComments] = UserComments
tabs[Reviews] = Reviews
tabs[Excerpt] = Excerpt
tabs[Preview] = preview
tabs[HierarchyTree] = HierarchyTree
tabs[Map] = Map
tabs[Similar] = null
tabs[Details] = StaffViewArray
tabs[Worldcat] = null
[finc\RecordDriver\SolrMarcFinc]
tabs[Description] = Description
tabs[Holdings] = HoldingsILS
tabs[AcquisitionPDA] = AcquisitionPDA
tabs[TOC] = TOC
tabs[UserComments] = UserComments
tabs[Reviews] = Reviews
tabs[Excerpt] = Excerpt
tabs[Preview] = preview
tabs[HierarchyTree] = HierarchyTree
tabs[Map] = Map
tabs[Similar] = null
tabs[Details] = StaffViewMARC
tabs[Worldcat] = Worldcat
[finc\RecordDriver\SolrAI]
tabs[Description] = Description
tabs[Holdings] = HoldingsILS
tabs[AcquisitionPDA] = AcquisitionPDA
tabs[TOC] = TOC
tabs[UserComments] = UserComments
tabs[Reviews] = Reviews
tabs[Excerpt] = Excerpt
tabs[Preview] = preview
tabs[HierarchyTree] = HierarchyTree
tabs[Map] = Map
tabs[Similar] = null
tabs[Details] = StaffViewAI
tabs[Worldcat] = Worldcat
\ No newline at end of file
......@@ -119,80 +119,10 @@ $config = [
'hierarchytree' => 'finc\RecordTab\Factory::getHierarchyTree',
],
'invokables' => [
'staffviewai' => 'finc\RecordTab\StaffViewAI',
'acquisitionpda' => 'finc\RecordTab\AcquisitionPDA',
'topics' => 'finc\RecordTab\Topics',
'descriptionlido' => 'finc\RecordTab\DescriptionLido',
'toc' => 'fid_adlr\RecordTab\TOC'
],
],
],
'recorddriver_tabs' => [
'finc\RecordDriver\SolrDefault' => [
'tabs' => [
'Description' => 'Description',
'Holdings' => 'HoldingsILS',
'AcquisitionPDA' => 'AcquisitionPDA',
'TOC' => 'TOC',
'UserComments' => 'UserComments',
'Reviews' => 'Reviews',
'Excerpt' => 'Excerpt',
'Preview' => 'preview',
'HierarchyTree' => 'HierarchyTree',
'Map' => 'Map',
'Similar' => null,
'Details' => 'StaffViewArray',
'Worldcat' => null,
],
'defaultTab' => null,
],
'finc\RecordDriver\SolrMarcFinc' => [
'tabs' => [
'Description' => 'Description',
'Holdings' => 'HoldingsILS',
'AcquisitionPDA' => 'AcquisitionPDA',
'TOC' => 'TOC',
'UserComments' => 'UserComments',
'Reviews' => 'Reviews',
'Excerpt' => 'Excerpt',
'Preview' => 'preview',
'HierarchyTree' => 'HierarchyTree',
'Map' => 'Map',
'Similar' => null,
'Details' => 'StaffViewMARC',
'Worldcat' => 'Worldcat',
],
'defaultTab' => null,
],
'finc\RecordDriver\SolrAI' => [
'tabs' => [
'Description' => 'Description',
'Holdings' => 'HoldingsILS',
'AcquisitionPDA' => 'AcquisitionPDA',
'TOC' => 'TOC',
'UserComments' => 'UserComments',
'Reviews' => 'Reviews',
'Excerpt' => 'Excerpt',
'Preview' => 'preview',
'HierarchyTree' => 'HierarchyTree',
'Map' => 'Map',
'Similar' => null,
'Details' => 'StaffViewAI',
'Worldcat' => 'Worldcat'
],
'defaultTab' => null,
],
],
'recorddriver_collection_tabs' => [
'VuFind\RecordDriver\AbstractBase' => [
'tabs' => [
'CollectionList' => 'CollectionList',
'HierarchyTree' => 'CollectionHierarchyTree',
'Details' => 'StaffViewArray',
],
'defaultTab' => null,
],
],
],
];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment