PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » Pager » Bug #7782

Why should I see all the pages in the first time?

Details

Request #7782Why should I see all the pages in the first time?
Submitted2006-06-01 14:09 UTC
Fromdjcomplex at freemail dot hu
Assignedquipo
StatusBogus
PackagePager
PHP Version4.3.8
OSSuSE 9.3
Roadmaps(Not assigned)

Comments

[2006-06-01 14:09 UTC] djcomplex at freemail dot hu

Description:
------------
Hi!

I use the script for many projects, but I have now a "serious" problem.

I use this:
$params = array(
'itemData' => $myData,
'perPage' => 2,
'delta' => 2,
'append' => false,
'urlVar' => 'oldal',
'path' => '/vendegkonyv',
'fileName' => 'oldal%d',
'separator' => '|',
'spacesBeforeSeparator' => 1,
'spacesAfterSeparator' => 1,
'clearIfVoid' => true,
'useSessions' => true,
'closeSession' => true,
'mode' => 'Sliding', //try switching modes

);

And now I have 22 pages.
If I open my site first time i see all the 22 pages:
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 » [22]

Then I clink one the second page and see this:
[1] « 1 | 2 | 3 | 4 | 5 » [22]

I wouldn't see all the pages even if I open the site in the first time.

What should I do?

Thank you a lot!

(Sorry for my bad English)