qcovery/libraries

There is no license information available for the latest version (1.0) of this package.

Add facets for the searchspace in VuFind

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:qcovery-module

1.0 2024-03-05 07:45 UTC

This package is auto-updated.

Last update: 2024-06-05 16:41:55 UTC


README

This module adds a custom library selector for the sidebar and the option to expand the search scope.

Usage

Integrate the module in the modules directory of VuFind and activate it by adding Libraries to VUFIND_LOCAL_MODULES. When adding the module manually make sure to copy and adapt the config file and copy/symlink the theme.

Add the following lines to your templates to enable the functionality of this module:

<?=$this->render('search/libraries-results.phtml'); ?>

Add this line to the result lists sidebar.

<?=$this->render('RecordDriver/SolrDefault/libraries-core.phtml', ['searchClassId' => $this->searchClassId, 'driver' => $this->driver]) ?>

Add this line to the detail view.

<?=$this->render('RecordDriver/SolrDefault/libraries-result-list.phtml', ['searchClassId' => $this->searchClassId, 'driver' => $this->driver]) ?>

Add this line to the body of the result list entry.

<?=$this->render('search/libraries-home.phtml', ['searchClassId' => $tab['id']]); ?>

Add this line to your home page.