Grids as options
option list via direct lists for multiple grids (http://forum.tufat.com/showthread.php?p=153689)
To implement this feature in your skin, you need to apply next changes
index.tpl:
{if $links} {foreach item=link from=$links} {$link} {/foreach} {/if}
replaced with:
{if !$app->setting->grids_as_options} {if $links} {foreach item=link from=$links} {$link} {/foreach} {/if} {/if}
after this line
<td align="right">
in toolbar.inc.tpl
insert next code:
{if $app->setting->grids_as_options} ##Grid:## <select name="grid" onchange="document.location.href='?grid=' + this.options[this.options.selectedIndex].value"> {html_options options=$grids_names selected=$smarty.request.grid} </select> {/if}
Trackback URL for this post:
https://www.kalexandr.com/trackback/8