About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:plugins:related_records_modules

Related Records Modules

Related records modules are used to display recommendations on the record view based on the currently-selected record. They are configured through the “related” setting in the [Record] section of config.ini (for Solr records) or the backend-specific .ini file (for other backends that support them).

Key Plugin Details

Default Namespace: \VuFind\Related

Interface: \VuFind\Related\RelatedInterface

Service Locator Configuration Section in module.config.php: ['vufind']['plugin_managers']['related']

Service Manager Name for Service Locator: VuFind\Related\PluginManager

Template Name: To display the related record recommendations, VuFind® will attempt to load a template from the Related folder of the current theme whose name corresponds with the class of the plugin (ignoring the namespace). The template will have access to the plugin object as $this→related.

See the General Plugin Information page for more details on VuFind® plugins.

development/plugins/related_records_modules.txt · Last modified: 2024/09/04 12:24 by demiankatz