On most of my sites pagination across the site is styled in exactly
the same way so I add the HTML/PHP into an element meaning any future
changes to pagination are made in one place.

At the top of my element I include the following which adds any passed
arguments into the paginator's options.

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

HIOU (Hope it's of use)

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