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:record_tabs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
vufind2:record_tabs [2015/12/09 19:31] – [Key Plugin Details] demiankatzdevelopment:plugins:record_tabs [2020/05/26 02:54] – [Notes] demiankatz
Line 13: Line 13:
 **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['recordtab'] **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['recordtab']
  
-**Service Manager Name for Service Locator:** VuFind\RecordTabPluginManager+**Service Manager Name for Service Locator:** VuFind\RecordTabPluginManager (VuFind 2.x-4.x), VuFind\RecordTab\PluginManager (VuFind 5.0+)
  
 **Template Name:** VuFind loads tab templates from the subdirectory of the RecordTab folder of the current theme whose name corresponds with the lowercased class of the plugin (ignoring the namespace).  For example, the template for \VuFind\RecordTab\TOC can be found in RecordTab/toc.phtml within your theme. **Template Name:** VuFind loads tab templates from the subdirectory of the RecordTab folder of the current theme whose name corresponds with the lowercased class of the plugin (ignoring the namespace).  For example, the template for \VuFind\RecordTab\TOC can be found in RecordTab/toc.phtml within your theme.
Line 19: Line 19:
 **Template Context:** Templates are rendered with $this->tab set to the controlling tab object and $this->driver set to the associated record driver.  Both of these objects may be used to pull data needed for rendering. **Template Context:** Templates are rendered with $this->tab set to the controlling tab object and $this->driver set to the associated record driver.  Both of these objects may be used to pull data needed for rendering.
  
-See the [[General Plugin Information|General Plugin Information]] page for more details on VuFind plugins.+See the [[development:plugins:general_information|General Plugin Information]] page for more details on VuFind plugins.
  
 ===== Notes ===== ===== Notes =====
  
-  * Record tabs are loaded based on a mapping found in the ['vufind']['recorddriver_tabs'] section of module.config.php.  Each sub-array is a map from a tab name (as used in a record URL) to a tab service (found in recordtab_plugin_manager).  If a particular record driver is not defined in recorddriver_tabs, it will inherit configuration from a configured parent class (if applicable).+  * Since VuFind 6.0, record tabs are loaded based on configurations found in the RecordTabs.ini configuration file. In prior releases, record tabs were loaded based on a mapping found in the ['vufind']['recorddriver_tabs'] section of module.config.php.  See the comments in the appropriate file for more details.
 ---- struct data ---- ---- struct data ----
 ---- ----
  
development/plugins/record_tabs.txt · Last modified: 2020/09/22 14:21 by demiankatz