⧼vector-jumptocontent⧽

Views render menu example.pl: Difference between revisions

From EPrints Documentation
mNo edit summary
mNo edit summary
 
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


Back to cfg.d

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].