Welcome Guest, Not a member yet? Register   Sign In
help need in pagination
#1

[eluser]core-coder[/eluser]
Hi guys,

I have implemented pagination with the help of pagination library. My problem is page numbers are displaying only if it has more than 1 page. I want to display "1" even if I have only one page. Any solution ?

Thank you
#2

[eluser]core-coder[/eluser]
Yes I got it :-)

I commented the code

if ($num_pages == 1)
{
return '';
}
in the pagination library, so it works now. Hope it wont make any bugs in future




Theme © iAndrew 2016 - Forum software by © MyBB