Latest Register Log In

+ Advanced Search

Previous and next links

Previous and next links
By
Mar 23, 2014

The "previous/next links" switch at Admin Panel -> Settings -> Switches enables a spot on the listing details page that links to the next and previous listings in the category.

The previous/next links can slow down the listing details pages noticably, and also increase your server load. If you notice slow pages or high server load, it's best to try switching this off to see if it helps.

If most or all of your listings have images, you might want to link thumbnails of the next and previous. You can do that with this template code, which is already included in the WSN Gallery listing details template and can be added to the other scripts:
<IF {PREVIOUSEXISTS} or {NEXTEXISTS}>
<table>
<tr>
<IF {PREVIOUSEXISTS}>
<td><a href="{PREVIOUSURL}">&#9668;</a></td>
<td><a href="{PREVIOUSURL}"><img src="thumbnail.php?id={PREVIOUSID}&amp;thumbwidth=50&amp;thumbheight=50&amp;fixedsize=1" class="navigationimage" ></a></td>
</IF>
<td><img src="thumbnail.php?id={LINKID}&amp;thumbwidth=50&amp;thumbheight=50&amp;fixedsize=1" class="navigationimage" style="opacity: .5;" ></td>
<IF {NEXTEXISTS}>
<td><a href="{NEXTURL}"><img src="thumbnail.php?id={NEXTID}&amp;thumbwidth=50&amp;thumbheight=50&amp;fixedsize=1" class="navigationimage" ></a></td>
<td><a href="{NEXTURL}">&#9658;</a></td>
</IF>
</tr>
</table>
</IF>




Rating
Views 97 views. Averaging 0 views per day.
Similar Listings