Questions tagged with pagination

1 answer

0 votes

Asked by xababafr, 6 days, 9 hours ago in

pagination sans base de donnée

Bonjour,

je fais un site où il y a un module d'uploads.

J'ai réussi l'upload, et désormais, ce qui pose problème, c'est l'affichage.

En effet, je veux un sorte de foreach qui affiche tous les uploads avec type, nom, taille ect... Je comptais m'en...

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...

0 answers

1 vote

Asked by GeoffW, 2 weeks, 3 days ago in

__() and paginator->sort()

Can anyone think of a reason why the "__()" string replacement/localization function does not work with $paginator-sort() ?

When I try to use the replacement function, the text replacement works, but the replacement string is placed outside of the...

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(' < ',...

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

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...

0 answers

0 votes

Asked by saeed, 4 days, 11 hours ago in

Pagination.

Hi all,

I am stuck on pagination. I am trying to paginate feePayment records based on certain criteria.

feePayments belongs to Students which in turn belongs YearGroups.

I want to paginate 'unpaid' feePayments for each year group. The problem I am...

0 answers

0 votes

Asked by fly2279, 2 weeks, 1 day ago in

Trouble with Easy AJAX Pagination Using JQuery

http://bakery.cakephp.org/articles/view/easy-ajax-pagination-using-jquery

Has anyone had trouble using the code from the bakery article multiple times in one page? I'm trying to use it to load three divs with different information in each one. the...

0 answers

0 votes

Asked by bsandall, 6 days, 14 hours ago in

Pagination Update DIV From Element

Hello

I have an issue with pagination within my Cake application and using Ajax to update a result list.

Opening streets/search/ page the user is presented with a search box and is able to enter a string, clicking submit fires the find_streets...

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,...

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...

0 answers

0 votes

Asked by chriswoodley, on 11/6/10 in

Why does ajax pagination break when i include the RequestHandler component into my controller?

Hi,

I have followed the instructions on setting up ajax pagination in the cakePHP 1.3 Manual using the new JS helper and got it to work in one of my controllers as intended. However...the ajax pagination breaks when I include the RequestHandler...

1 answer

0 votes

Asked by blacksymmetry, on 24/5/10 in

problem with binding model

Hello, I would like to ask.

I have got a problem with pagination of friendships table:

Table has structure

|ID | user_id | friend_id | status |

And can be filled by this values

|ID | user_id | friend_id | status |

|1 | 10 | 30 | 1 |

|2 | 20 | 10 | 1...

0 answers

0 votes

Asked by roger, on 13/5/10 in

pagination: jump to page containing id...

Hi all!

short situation sketch:

i'm using pagination in a way it's probably not really intended: i only display one on each page. that way, it was really easy to make an image viewer for my gallery with previous and next buttons.

then there is the...

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 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...

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' =...

2 answers

0 votes

Asked by LaneO, on 29/5/10 in

Paginator->Sort() using related virtualField

Hi, is it possible to use the paginator to sort using a virtualField in a related model?

Here is a simplified example of what I'm trying to do using a fresh baked app with 1.3.1:

Database:

CREATE TABLE `customers` (
  `id` int(11) NOT NULL...

0 answers

0 votes

Asked by ode, on 23/3/10 in

Pagination HABTM relationships

I have a list of categories that when clicked on show all jobs related to that category. I need to paginate the results but I have not had any success after scouring the documentation and various blogs. What am I doing wrong?


<?php
class...
<< previous 1   2