Re: Pagination option url question

2013-11-14 Thread Salines
Question one: Can I overwrite the controller and action with my slugged_url value? To have something like http://domain.com/my_slugged_url/page:2? Yes, in your router put something like: Router::connect('/:slug/*', array('admin'=>false,'controller' => 'posts', 'action' => 'index'),array('pass'=

Pagination option url question

2013-11-12 Thread heohni
Hi, I used this code: $this->Paginator->options(array('url' => array($this->params->url))); and later on: echo $this->Paginator->link('5',array('limit' => '5'), $options = array('escape' => false)); and echo $this->Paginator->sort('price', $text, $options = array('escape' => false, 'direction'=