News pagination
Posted: Tue Dec 13, 2016 2:53 pm
Hi
I have a client that had a site made in CMS Made Simple, but the company that made the site forgot to add pagination to the news.
The summary template was remade but when i switch it back to the original I still don't see the pagination.
If I'm not mistaken this is the original pagination code:
<!-- news pagination -->
{if $pagecount > 1}
<span class='paginate'>
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
{$nextpage} {$lastpage}
{/if}
</span>
{/if}
</ul>
<!-- .news-summary //-->
But it's not showing anything if I switch to it. CMS Made Simple version 1.11.13 is used and News module 2.15.
Any tips/ideas are appreciated.
Thanks!
I have a client that had a site made in CMS Made Simple, but the company that made the site forgot to add pagination to the news.
The summary template was remade but when i switch it back to the original I still don't see the pagination.
If I'm not mistaken this is the original pagination code:
<!-- news pagination -->
{if $pagecount > 1}
<span class='paginate'>
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
{$nextpage} {$lastpage}
{/if}
</span>
{/if}
</ul>
<!-- .news-summary //-->
But it's not showing anything if I switch to it. CMS Made Simple version 1.11.13 is used and News module 2.15.
Any tips/ideas are appreciated.
Thanks!