Views render items example.pl

From EPrints Documentation
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.