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

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
development:plugins:contentblocks [2020/03/30 13:37] – [Content Block Plugins] demiankatzdevelopment:plugins:contentblocks [2020/09/22 14:20] (current) demiankatz
Line 3: Line 3:
 :!: This feature was introduced in VuFind 5.0. :!: This feature was introduced in VuFind 5.0.
  
-Content blocks are used to embed arbitrary content into templates (currently used primarily for filling in the home pages of various search modules). See the comments in the [HomePage] section of [[https://github.com/vufind-org/vufind/blob/master/config/vufind/searches.ini|searches.ini]] for a list of blocks available in your version of VuFind.+Content blocks are used to embed arbitrary content into templates (currently used primarily for filling in the home pages of various search modules). See the comments in the [HomePage] section of [[https://github.com/vufind-org/vufind/blob/dev/config/vufind/searches.ini|searches.ini]] for a list of blocks available in your version of VuFind.
  
 ===== Why Use It? ===== ===== Why Use It? =====
Line 13: Line 13:
 **Default Namespace:** \VuFind\ContentBlock **Default Namespace:** \VuFind\ContentBlock
  
-**Interface:** [[https://github.com/vufind-org/vufind/blob/master/module/VuFind/src/VuFind/ContentBlock/ContentBlockInterface.php|\VuFind\ContentBlock\ContentBlockInterface]]+**Interface:** [[https://github.com/vufind-org/vufind/blob/dev/module/VuFind/src/VuFind/ContentBlock/ContentBlockInterface.php|\VuFind\ContentBlock\ContentBlockInterface]]
  
 **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['contentblock'] **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['contentblock']
Line 27: Line 27:
 Home page content blocks are configured through the [HomePage] content setting in [[configuration:files:searches.ini]] for the standard Solr search/home page.  Other search types may have recommendation settings in their own .ini files (for example, [[configuration:files:summon.ini|Summon.ini]] has its own [HomePage] section). Home page content blocks are configured through the [HomePage] content setting in [[configuration:files:searches.ini]] for the standard Solr search/home page.  Other search types may have recommendation settings in their own .ini files (for example, [[configuration:files:summon.ini|Summon.ini]] has its own [HomePage] section).
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
development/plugins/contentblocks.1585575441.txt.gz · Last modified: 2020/03/30 13:37 by demiankatz