Difference between revisions of "Views render menu example.pl"
m |
m |
||
Line 2: | Line 2: | ||
{{cfgd}} | {{cfgd}} | ||
− | '''views_render_menu_example.pl''' provides an alternative render function for browse view menu pages, which can be specified in the browse view specification's <code>render_menu</code> attribute. '''<code>$c->{render_view_menu_3col_boxes}</code>''' displays listing in three columns rather than using the full-width of the page. | + | '''views_render_menu_example.pl''' provides an alternative render function for browse view menu pages, which can be specified in the browse view specification's <code>render_menu</code> attribute. '''<code>$c->{render_view_menu_3col_boxes}</code>''' displays listing in three columns rather than using the full-width of the page. However, this may be better achieved using the browse view's <code>new_column_at</code> attribute and this function would be broadly equivalent to setting this to <code>[0,0]</code>. |
Latest revision as of 00:20, 6 February 2022
EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
views_render_menu_example.pl provides an alternative render function for browse view menu pages, which can be specified in the browse view specification's render_menu
attribute. $c->{render_view_menu_3col_boxes}
displays listing in three columns rather than using the full-width of the page. However, this may be better achieved using the browse view's new_column_at
attribute and this function would be broadly equivalent to setting this to [0,0]
.