Page 1 of 1

LISE Prev page next page remaming links

Posted: Thu Feb 18, 2021 5:06 pm
by andrewvideouk
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 &#62l; 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}&nbsp;		 
			 {else} < Previous page			 
		{/if}
			{foreach from=$pagelinks item=page}
				{$page->link} 
			{/foreach}
		{if $pagenumber < $pagecount}
		&nbsp;{$nextpage|replace:'>><':'>Next page > <'} &nbsp;		
		{else} Next page >		
		{/if}

Re: LISE Prev page next page remaming links

Posted: Thu Feb 18, 2021 6:45 pm
by velden
Check for 'prevurl' and 'nexturl' variables and create the links yourself.

Re: LISE Prev page next page remaming links

Posted: Tue Feb 23, 2021 1:27 pm
by andrewvideouk
Thank you. That worked.