qcovery / help-tooltips
Add configurable help tooltips to VuFind.
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:qcovery-module
Requires
- php: >=7.3
- qcovery/vufind-composer-installer-plugin: ^1.0.0
This package is auto-updated.
Last update: 2025-03-05 18:10:02 UTC
README
Template snippets
Include the following snippets in your templates:
Menu entry
<!--Module HelpTooltips-->
<?=$this->render('helptooltips/menu.phtml', []) ?>
<!--Module HelpTooltips-->
Generate HTML for tooltips
<!--Module HelpTooltips-->
<?=$this->render('helptooltips/helptooltips.phtml', ['context' => 'result list']) ?>
<!--Module HelpTooltips-->
The value of "context" selects the tooltips from HelpTooltips.ini with the same value. Use 'all' to display all tooltips.
CSS
Overwrite the following classes to match our design:
.helpTooltipLink {
/* margin-top: ...px; - overwrite in library theme */
}
#btn-help:hover {
/* color: #...; - overwrite in library theme */
}
Help tooltips
Define your help tooltips in HelpTooltips.ini in the VuFind config directory. See examples in /module/HelpTooltips/files/HelpTooltips.ini