https://wiki.eprints.org/w/index.php?title=Views_render_menu_example.pl&feed=atom&action=historyViews render menu example.pl - Revision history2024-03-29T14:54:12ZRevision history for this page on the wikiMediaWiki 1.31.8https://wiki.eprints.org/w/index.php?title=Views_render_menu_example.pl&diff=14513&oldid=prevDrn@ecs.soton.ac.uk at 00:20, 6 February 20222022-02-06T00:20:06Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 00:20, 6 February 2022</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2" >Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{cfgd}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{cfgd}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''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.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''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<ins class="diffchange diffchange-inline">.  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></ins>.</div></td></tr>
</table>Drn@ecs.soton.ac.ukhttps://wiki.eprints.org/w/index.php?title=Views_render_menu_example.pl&diff=14511&oldid=prevDrn@ecs.soton.ac.uk at 00:08, 6 February 20222022-02-06T00:08:39Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 00:08, 6 February 2022</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2" >Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{cfgd}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{cfgd}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''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 <del class="diffchange diffchange-inline">''</del>render_menu<del class="diffchange diffchange-inline">'' </del>attribute.  '''<code>$c->{render_view_menu_3col_boxes}</code>''' displays listing in three columns rather than using the full-width of the page.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''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 <ins class="diffchange diffchange-inline"><code></ins>render_menu<ins class="diffchange diffchange-inline"></code> </ins>attribute.  '''<code>$c->{render_view_menu_3col_boxes}</code>''' displays listing in three columns rather than using the full-width of the page.</div></td></tr>
</table>Drn@ecs.soton.ac.ukhttps://wiki.eprints.org/w/index.php?title=Views_render_menu_example.pl&diff=14510&oldid=prevDrn@ecs.soton.ac.uk: Added info aabbout view attribute to use function2022-02-06T00:08:06Z<p>Added info aabbout view attribute to use function</p>
<p><b>New page</b></p><div>{{dirs}}<br />
{{cfgd}}<br />
<br />
'''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. '''<code>$c->{render_view_menu_3col_boxes}</code>''' displays listing in three columns rather than using the full-width of the page.</div>Drn@ecs.soton.ac.uk