Hi There,

I am new to cakephp and will appreciate and be greatful for any help.

I am working with pagination, however when I click on page 2, the page
reloads and still fetches result for page 1. However, the url changes
in the address bar to page 2. Following are the steps:

1) I am currently on page 1 with url in the address bar as
http://www.abc.com/demo/Home/index

2) When I hover my mouse on page number 2, the link it shows me in the
status bar is as follows:

www.abc.com/demo/Home/index/page:2

3) I click on page 2, However, it still fetches the old results i.e.
the results it showed on page 1. however the url in the address bar
changes to  www.abc.com/demo/Home/index/page:2

4) but now, when i hover my mouse on page 2 again, the link i see in
the status bar is

http://www.leaguewebsite.co.uk/demo/admin/TeamDirectories/index/page:2/page:2

when i click on this, now it fetches the correct results i.e. for page
2.

Can anybody tell me why this is happening.

Basically, I want pagination work with/without id (page:2 in this case
in step 4).

Thanking you in anticipation.

Laeeq

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to