qcovery/help-tooltips

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

Add configurable help tooltips to 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:44 UTC

This package is auto-updated.

Last update: 2024-06-05 16:38:30 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