Re: Question about pagination

2011-05-02 Thread Tilen Majerle
No, class 'current' is statically written and can't be changed -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/5/2 Roland Pish > Hi there. > > When displaying $paginator->numbers(), I need to replace the current > class of the current page from 'current' to 'active', so that the > current

Question about pagination

2011-05-01 Thread Roland Pish
Hi there. When displaying $paginator->numbers(), I need to replace the current class of the current page from 'current' to 'active', so that the current page instead of displaying: ... I want it to display: ... I've researched in $paginator->numbers() options but I haven't found a way to change t

question about pagination 1.2

2008-06-17 Thread Alessio
In the version of 1.2 and in the prev... the problem was the same... preserve the parameters of research...passing from page to page... There was post get redirect...a really bad solution... now searching various persons..i see that the most use a redirect... i have created the solution to use

Re: Question about pagination

2007-02-28 Thread nate
$object is used in cases where a controller uses more than one model, and you wish to paginate a model other than the default. "Allowed parameters" are pagination parameters which a user is allowed to pass in the URL. For any further questions about new 1.2 features, please see here: http://grou

Re: Question about pagination

2007-02-27 Thread Adrian Maier
On 2/27/07, nate <[EMAIL PROTECTED]> wrote: > > $scope is filtering criteria, and $whitelist is a list of allowed > parameters. Thanks for trying to explain, Nate. However, since i'm very new to CakePHP i can't figure out what would be the purpose of these "allowed parameters". :-D > $object

Re: Question about pagination

2007-02-27 Thread nate
$scope is filtering criteria, and $whitelist is a list of allowed parameters. $object is interpreted as $scope if it is an array, since by default, the $object parameter is not required. On Feb 27, 2:28 am, "Adrian Maier" <[EMAIL PROTECTED]> wrote: > On 2/27/07, Grant Cox <[EMAIL PROTECTED]> wro

Re: Question about pagination

2007-02-26 Thread Adrian Maier
On 2/27/07, Grant Cox <[EMAIL PROTECTED]> wrote: > > Just pass your conditions as the first parameter to your paginate > function. > > $your_conditions = array('session_id'=>$session_id); > $this->set( 'importData', $this->paginate($your_conditions) ); Thanks, I'll try this. The funny thing is

Re: Question about pagination

2007-02-26 Thread Grant Cox
Just pass your conditions as the first parameter to your paginate function. $your_conditions = array('session_id'=>$session_id); $this->set( 'importData', $this->paginate($your_conditions) ); --~--~-~--~~~---~--~~ You received this message because you are subscri

Question about pagination

2007-02-26 Thread [EMAIL PROTECTED]
Hello, I am trying to displays a large number of records, with pagination. The default code generated by bake.php works very well , but it displays *all* the records in the database table. I need to add some filtering criteria, and at the same time have pagination. Below is what i did so far.