View Full Version : Help with the Listings page navigation
Grovir
02-07-2009, 01:26 AM
I am using Version 1.6 with the 'nightime' template...
When viewing a Catagory that has many listings it is split into multiple pages with page navigation links at the top, like so:
http://rclinks.co.cc/page_nav.png
This only appears at the top of the listings page, how can I edit the template to have this also show up at the bottom of the listings page?
Alex B.
02-09-2009, 05:03 PM
Hi Grovir!
Welcome to our forums!
Sorry for delay, had weekends... )
Please post or PM me your URL, that I could understand what's the problem
Grovir
02-10-2009, 12:14 AM
Here's a link to one of my catagories: http://rclinks.co.cc/index.php?category=2. I've changed to the CleanRed template but my problem is the same.
What I want to do is have the "« Previous : First : Page 1 Page 2 Page 3 Page 4 Page 5 : Last : Next »" part also show up below the listings.
Alex B.
02-10-2009, 12:37 AM
ok, now I see.
find esyn_root/templates/current_template/index.tpl file.
there find lines:
<div class="listings">
{navigation aTotal=$total_listings aTemplate=$url aItemsPerPage=$config.num_index_listings aListingsPerPage=$config.num_navig_pages aType=2}
<table cellspacing="0" cellpadding="0">
{foreach from=$listings item=listing}
{include file="listing-display.tpl"}
{/foreach}
</table>
</div>
and replace it with:
<div class="listings">
<table cellspacing="0" cellpadding="0">
{foreach from=$listings item=listing}
{include file="listing-display.tpl"}
{/foreach}
</table>
{navigation aTotal=$total_listings aTemplate=$url aItemsPerPage=$config.num_index_listings aListingsPerPage=$config.num_navig_pages aType=2}
</div>
and
make the same things with listings.tpl
save changes and
check your frontend
Grovir
02-10-2009, 02:11 AM
Thanks for the fix! I actually wanted to have the navigation on top and bottom so I did this:
<div class="listings">
{navigation aTotal=$total_listings aTemplate=$url aItemsPerPage=$config.num_index_listings aListingsPerPage=$config.num_navig_pages aType=2}
<table cellspacing="0" cellpadding="0">
{foreach from=$listings item=listing}
{include file="listing-display.tpl"}
{/foreach}
</table>
{navigation aTotal=$total_listings aTemplate=$url aItemsPerPage=$config.num_index_listings aListingsPerPage=$config.num_navig_pages aType=2}
</div>
Works like a charm, thanks again!
Hey another quick question...
Is there a way to add another page to the template? For instance if I wanted to have a page with banners that people could use to link to my site or maybe a FAQ page.
Alex B.
02-11-2009, 04:21 PM
Good! =) You're welcome!
Actually it's not that simple. We can do that modifications for you but they will be paid.
If you are interested you may send an email to sales[at]esyndicat[dot]com.
or you can purchase a Pro license, it has FAQ and banners plugins
vBulletin® v3.7.0, Copyright ©2000-2013, Jelsoft Enterprises Ltd.