Support Forums

Change the Last Page link to Next Page

This is a discussion on Change the Last Page link to Next Page within the Technical Support forums, part of the Technical Support Forums category; Hi, I want to change the Last Page link in the showlistings to Next Page. I am guessing ti is ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 08-19-2008, 07:04 AM   #1
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,080
Rep Power: 32
bowers01 is on a distinguished road
Default Change the Last Page link to Next Page

Hi,
I want to change the Last Page link in the showlistings to Next Page.
I am guessing ti is the code below. What do i need to change?
Cheers,
Nick


Code:
{if $maxPage > 1 && ($sPagination==1 || $sPagination==3)}
<div class="pageNav">
{* display pagination *}
	<table class="pagination" cellpadding="3" cellspacing="1" border="0" align="right" style="margin-bottom:3px">
		<tr>
			<td class="navigationBack" style="font-weight:normal">{$smarty.const.LANG_SHOWING_PAGE} {$pageNum} of {$maxPage}</td>
			{if $first<>""}
			<td class="paginationNum"><a href="{$file}?{$first}">{$smarty.const.LANG_FIRST}</a></td>
			{/if}
			{if $prev<>""}
			<td class="paginationNum"><a href="{$file}?{$prev}">{$smarty.const.LANG_PREVIOUS}</a></td>
			{/if}
			{foreach from=$pageNumber item="entry"}
				{if $entry.number==$pageNum}
				<td class="paginationNum"><strong>{$entry.number}</strong></td>
				{else}
				<td class="paginationNum"><a href="{$file}?{$entry.link}" class="paginationNum">{$entry.number}</a></td>
				{/if}
			{/foreach}
			{if $next<>""}
			<td class="paginationNum"><a href="{$file}?{$next}">{$smarty.const.LANG_NEXT}</a></td>
			{/if}
			{if $last<>""}
			<td class="paginationNum"><a href="{$file}?{$last}">{$smarty.const.LANG_LAST}</a></td>
			{/if}
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Old 08-19-2008, 03:35 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,497
Rep Power: 132
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Hi,

From the code you pasted this is the last page link:
Code:
            {if $last<>""}
            <td class="paginationNum"><a href="{$file}?{$last}">{$smarty.const.LANG_LAST}</a></td>
            {/if}
You can edit that directly from the template or change the wording in the language file.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 08-19-2008, 06:34 PM   #3
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,080
Rep Power: 32
bowers01 is on a distinguished road
Default

Hi,
By doing that it will say Next Page but take you to the last one. What do i need to change the link to?
Cheers,
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Old 08-19-2008, 06:41 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,497
Rep Power: 132
Eric Barnes is just really nice Eric Barnes is just really nice
Default

The next page link is on the line above:
<a href="{$file}?{$next}">
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 08-19-2008, 06:50 PM   #5
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,080
Rep Power: 32
bowers01 is on a distinguished road
Default

Thanks, works like a charm.
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change freatured Items Font color on front page bowers01 Technical Support 0 08-09-2008 10:36 PM
home page content change fendter Templates, HTML, CSS, and Design Help 3 07-15-2008 01:45 PM
cannot change template via administrator page pvallada Technical Support 1 04-24-2008 12:13 AM
Getting Google To Re-Index A Page After Title Change? bgordon Site Marketing 9 05-15-2007 01:04 AM


All times are GMT -4. The time now is 04:03 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0