You misunderstand the error and/or the output of your var_dump.  The
url parameter in your options array is not an array it's a variable,
signified by the fact you call it $somevar.

$options = array( 'url' => $somevar);

Try

$options = array( 'url' => array($somevar));

I personally have my pagination options in an element as I want them
to be the same across my application and at the top of that element I
include the following to automatically include any passed arguments
from the URL into the pagination links

if (!empty($this->passedArgs)) {
        $paginator->options(array('url' => $this->passedArgs));
} ?>

HTH

Paul.

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

Reply via email to