Views render items example.pl

From EPrints Documentation
Revision as of 00:11, 6 February 2022 by Drn@ecs.soton.ac.uk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Back to cfg.d

views_render_items_example.pl provides an alternative render function for browse view listing pages, which can be specified in the browse view specification's under the variations with a render_fn attribute. E.g.

variations => [
  "DEFAULT;render_fn=render_view_items_3col_boxes",
],

$c->{render_view_items_3col_boxes} displays citations in three columns rather than using the full-width of the page.