Welcome Guest, Not a member yet? Register   Sign In
Pagination with "real" pages
#4

[eluser]fustaki[/eluser]
Maybe I noticed a little error using your MY_pagination library:
when rendering the link for the first page the URL is
Code:
http://example.com/index.php/test/page/1
instead of
Code:
http://example.com/index.php/test/page/
which smells like URL duplication for SE robots.
I just added the control on page 1
Code:
$n = ($i == 0 || $i == 1) ? '' : $i
and it seems to work..

Is there a 'trusted' version of your pagination extension within the guidelines?
anyway, good job!
bye ;-)


Messages In This Thread
Pagination with "real" pages - by El Forum - 07-27-2008, 03:14 PM
Pagination with "real" pages - by El Forum - 07-27-2008, 03:58 PM
Pagination with "real" pages - by El Forum - 07-27-2008, 04:15 PM
Pagination with "real" pages - by El Forum - 08-23-2008, 05:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB