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