LISE Prev page next page remaming links
Posted: Thu Feb 18, 2021 5:06 pm
Hi guys,
I am using LISE module and trying to make previous page and next pages links to have words insead of just having "<" and ">"
Did try using replace command. I have tried finding >l; or > and then replace with Next page. I cant seem to get it to work. Can someone help me how to do this or is a better way of doing it.
Thank you.
I am using LISE module and trying to make previous page and next pages links to have words insead of just having "<" and ">"
Did try using replace command. I have tried finding >l; or > and then replace with Next page. I cant seem to get it to work. Can someone help me how to do this or is a better way of doing it.
Thank you.
Code: Select all
{if $pagenumber > 1}
{$prevpage}
{else} < Previous page
{/if}
{foreach from=$pagelinks item=page}
{$page->link}
{/foreach}
{if $pagenumber < $pagecount}
{$nextpage|replace:'>><':'>Next page > <'}
{else} Next page >
{/if}