qcovery/libraries
最新稳定版本:1.0
Composer 安装命令:
composer require qcovery/libraries
包简介
Add facets for the searchspace in VuFind
README 文档
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.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-09-15