Questions tagged with pagination

0 answers

0 votes

Asked by DarthMax, on 14/6/10 in

Ajax Pagination - Reload only a part of the view

Hi,

I just have a Problem with the paginatorHelper.

I want to use Ajax pagination. But currently I can only reload the whole view again instead of only a specific part of it (only the the blog with the paginated data should be reloaded, not the...

1 answer

0 votes

Asked by davidcroda, on 29/11/09 in

Ajax Pagination CakePHP 1.3

I am wondering how to specify you want ajax pagination in the CakePHP 1.3 core.

this is my current $paginator array which properly performs Ajax pagination on the 1.2 core. On the 1.3 it just creates a normal link.


$paginator->options(array(
   ...

1 answer

0 votes

Asked by Matt, on 14/4/10 in

Ajax pagination how to hide main div

I am working with Ajax pagination and it works well, but I'm wondering if there is a way to hide the 'update' div when the 'indicator' div is visible. I'm thinking I could write a javascript to show or hide my div and call that at the...

1 answer

0 votes

Asked by ABCoder, on 8/2/10 in

Ajax pagination using JSON data

Cake has default ajax pagination feature, but the output is in html which is not a good idea and huge amount of data transfer.

I want to use JSON to reduce data transfer. Is there any "ready-made" stuff for pagination using json (and jQuery).

1 answer

0 votes

Another question regarding pagination with habtm

I'm really new to cake, and I did all my research, read all the info I found but I'm still so confused about all this.

First, let me describe my database schema a bit:

1. Project: project table contains user_id (this is the "owner" of the...

1 answer

0 votes

Asked by blacksymmetry, on 21/4/10 in

Cannot set LIMIT in pagination

Hello, I have got a problem with pagination:

If I need to use query with some conditions to paginate i tried this:

{{{

$this-paginate = array('conditions' = array(

'or'=array(

'Friendship.user_id' = $this-Auth-user('ID'),

'Friendship.friend_id' =...

1 answer

1 vote

Asked by mee, on 7/5/10 in

Comment faire de la pagination sur des resultat I18N

Bonjour,

alors j'aimerai pouvoir faire de la pagination sur des résultats qui viennent de la table i18n.

J'avais besoin d'un composant pour faire un module recherche sur mon appli. J'ai fait quelques recherches, et j'ai trouvé les solutions...

1 answer

0 votes

Asked by MichaelMafort, on 29/1/10 in

Has way to fixed the pagination params in navigation, by default?

I'm learn about cakephp and not find properties to set the pagination to keep the params into args url.

Example:

List users, ordered by name and I'm in second page, clicked in edit, data has edited and click to save, data has been saved! I want to...

2 answers

0 votes

Asked by aquive, on 17/6/10 in

How do I paginate a find query.

I have a image model. People can upload images. Now in a view i want to display the 10 latest records in a paginated way. It should be only the 10 latest records, not more. The results should be paginated over 10 pages. So there is 1 record/image...

0 answers

0 votes

Asked by Vicky, 2 days, 21 hours ago in

How to disable the next link on reaching the last record.

hi frnds,

i have two tables namely courses and holes. the holes table has a course_id which acts as a foreign key.

On a particular page i want to display the number of holes related to that particular course. i am able to display the contents for...

1 answer

0 votes

Asked by louiemiranda, 4 weeks, 1 day ago in

How to paginate ->find

I been having issues on how can I paginate properly a full-text search inserted to find.

Here's the code as a reference.


$results = $this->Publication->find('all', $params);
$this->set('results', $this->paginate($results));

I tried this approach,...

1 answer

0 votes

Asked by richardwo, on 9/2/10 in

How to paginate a web service API DataSource

I have created a DataSource to interact with an external web service API. Along with the requested data, the web service returns a field showing the total available rows and you can send start and limit parameters in the request, so pagination...

1 answer

0 votes

Asked by TheKog, on 6/3/10 in

How To View Multiple Tables With Pagination On A Single Page

In CakePHP 1.2 we need to have a single page with multiple tables on it each with their own pagination. For example given People and Tasks controllers, we need to put up a page (as an action from either controller or from a 3rd controller) that...

0 answers

0 votes

Asked by paullb, 3 weeks, 4 days ago in

including language in paginator links

I have a multilingual site and I am trying to use the paginator. However the pages navigation never includes the language (just the controller and action are included)

<?php

echo $paginator-first(' < ', null, null, null);

echo $paginator-prev(' < ',...

2 answers

1 vote

Asked by designvoid, on 29/1/10 in

Is it possible to paginate by dates

I have a blog with 100's of posts and I would like to paginate them, however I would like to have each page show the posts for a month ie:

<< NOV2009 | DEC2009 | JAN2010 >>

Is this at all possible using the pagination system in CakePHP?

2 answers

0 votes

Asked by TyCam, on 3/2/10 in

Limit total number of results in Pagination?

I have a paginated page where I have over 1000 database records. How do I limit the per page results to 20 AND have the total results limited to 1000?

0 answers

0 votes

Asked by blacksymmetry, on 21/4/10 in

More than one pagination in view?

Hello I would like to ask on this questions.

I have got view, where i would like to have displayed recieved and sended messages.

View is called like messages/recieved and so with recieved messages works fine, but with sended i have got a little...

2 answers

1 vote

Asked by gishdog, on 2/12/09 in

Option for Current Link In Pagination Helper

I'm using the PaginationHelper and in my view I need to set the class for the current page's link to "current number" and I also need to get rid of the | characters before and after the pages.

I can set the overall class but not the current page...

0 answers

0 votes

Asked by joannareyes, on 25/6/10 in

Pagination for Massive Records

I was able to make pagination work in my application that just lists all the records from a model. However, once I populated my database with over 30,000 records, the page doesn't load at all. Either it timed out or an internal server error page...

<< previous 1   2