How could I limit the number of ListIt2 summary pagination? Right now a page contains 86 items and it's way too much. I would like to reduce it to something like:
< << 1 2 3 4 5 6 7 >> >
The pagination code is:
Code: Select all
{if $pagecount > 1}
<p>
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{foreach from=$pagelinks item=page}
{$page->link}
{/foreach}
{if $pagenumber < $pagecount}
{$nextpage} {$lastpage}
{/if}
</p>
{/if}
Thank you in advance and have a great weekend y'all!