Revision: 31358
Updated Code
at September 3, 2010 06:40 by sveggiani
Updated Code
// EXAMPLE ROUTE DEFINITION Router::connect('/:microsite/sitios/*', array('controller' => 'sites', 'action' => 'index'), array('microsite' => '[a-zA-Z0-9\-]+')); // VIEW CODE $paginator->options( array( 'url' => array_merge( array('microsite' => $_microsite['permalink'] ), $this->passedArgs) ) ); $paginator->hasPrev() ) echo '<li>'.$paginator->prev('« Sitios anteriores', array('escape' => false)).'</li>'; $paginator->hasNext() ) echo '<li>'.$paginator->next('Sitios recientes »', array('escape' => false)).'</li>';
Revision: 31357
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 3, 2010 06:39 by sveggiani
Initial Code
// EXAMPLE ROUTE DEFINITION Router::connect('/:microsite/sitios/*', array('controller' => 'sites', 'action' => 'index'), array('microsite' => '[a-zA-Z0-9\-]+')); // VIEW CODE $paginator->options( array( 'url' => array_merge( array('microsite' => $_microsite['permalink'] ), $this->passedArgs) ) ); if ( $paginator->hasPrev() ) echo '<li>'.$paginator->prev('« Sitios anteriores', array('escape' => false)).'</li>'; if ( $paginator->hasNext() ) echo '<li>'.$paginator->next('Sitios recientes »', array('escape' => false)).'</li>';
Initial URL
Initial Description
Initial Title
Cakephp: preserve custom routes parameters in paginator links
Initial Tags
cakephp
Initial Language
PHP