PDA

View Full Version : Show Page Navigation Page numbers on bottom


Norman Fernandez
06-26-2007, 01:32 PM
Right now I have 20 links per page being displayed on http://www.lawnosh.net when you reach the bottom there are no navigation arrows like on major search engines.

This is a major feature that needs to be added so that users do not have to scroll up to navigate to the next page!

John Turner
06-27-2007, 11:13 AM
Hi Norman Fernandez,

Here solution for you
open '../templates/GreenLeaves/inde.tpl'

find following code

{foreach from=$links item=link}
{include file="link-display.tpl"}
{/foreach}
</table>


add following code after it

{navigation aTotal=$total_links aTemplate=$url aItemsPerPage=$config.num_index_links aLinksPerPage=$config.num_navig_pages aType=$type}


*** save and close it.

Norman Fernandez
06-27-2007, 11:48 AM
My isp is moving me to a new server right now. I hope to god they don't screw up everything I have done. I have backed up the sql database from cpanel. Once I am moved, I will try the fix.

I assume I insert the new code on a new line after </table> correct?

Thanks,

John Turner
06-27-2007, 11:57 AM
I assume I insert the new code on a new line after </table> correct?

Yes you're right.

Norman Fernandez
06-27-2007, 12:02 PM
Thanks lets just hope that my isp does not screw everything up. This will be the 4th server move in as many years. Each time there has been some problem. I have a reseller account with about 100 domains to worry about. Lets see how it goes!

I really do appreciate the fix. Once I am moved I will implement it.

Norman Fernandez
06-29-2007, 03:48 AM
Your fixed worked!!

Thanks a million. I hope that this fix will be integrated into the new version coming out.

John Turner
06-29-2007, 07:00 AM
You're welcome Norman,
always at your services.

Norman Fernandez
06-29-2007, 08:29 AM
I will tell you John I as non technical as they come, but with the help of people like you and others on the forum I have been able to make a basic legal directory out of www.lawnosh.net
Once the new version comes out I will have you guys do a custom template for me. I am really looking forward to the Jumbla integration I have been hearing about. That should make ranking fly through to roof. This is my first directory with this software. I plan on a bunch more.

Maybe this is not the right thread to talk about all of this on.

Thanks again.

Luckyjj842
06-29-2007, 09:20 AM
Great idea, works on Aqua a treat.

As ever many thanks

John Turner
06-29-2007, 09:20 AM
Norman, thanks for your positive feedback about our software and our support team.
Also it will be good you to share your opinion in our testimonials page
http://www.esyndicat.com/testimonials/

MOT
08-15-2007, 06:56 PM
Works perfectly. This was something I was having difficulty with as well. Should be included in any upcoming release. Good job!

Norman Fernandez
08-15-2007, 09:30 PM
Norman, thanks for your positive feedback about our software and our support team.
Also it will be good you to share your opinion in our testimonials page
http://www.esyndicat.com/testimonials/

John how to I submit a testimonial?

I just looked and I did not see a link.

Thanks,

Greg
08-15-2007, 11:09 PM
John how to I submit a testimonial?

I just looked and I did not see a link.

Thanks,
I think this is it.
http://www.esyndicat.com/testimonials/add/

Luckyjj842
08-30-2007, 12:44 AM
Great idea, also works on Thematic Blue.

As ever many thanks

Christabelle67
09-09-2007, 12:28 PM
Hello

I tried to add this script into the Glassy Pro template but it did not work? Any advise?
Warm Regards
Christel

kj4700
04-03-2008, 10:49 PM
Hi guys,

I am having the same problem and pasted that line of code after the table but it never worked for me. I then put that line of code after the close div with same results.

Is there something in the admin that needs to be turned on? I have been all over the admin and so far have not seen anything to enable to have the page links come up.

We have 15 links displaying and we used the spider and added more links than 15 so there should be a link at the top and bottom of the link listings but its not coming up unless I am logged in.

Not everyone that comes to the directory will be a member and logged is so its important we figure this out.

Much appreciated.

Edit:

I found this another post and done this after I made the changes you suggested on this post and it works now... "Admin Panel » Manage Database » Check consistency ACTIVE LISTINGS COUNT: and click on recount"

Nikita B.
04-18-2008, 10:42 AM
if you want navigation also on bottom, not only on top of the listings block

open templates/index.tpl and listings.tpl
find code and make changes

{if $listings}
{include file="box-header.tpl" caption=$lang.listings}
<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>
{include file="box-footer.tpl"}
{/if}

jzone
05-16-2008, 11:58 PM
Adding page nav to the bottom of the listings / page worked beautifully - once again you guys are awesome!