Please see below code snippt:
<?php
//Sets the update and indicator elements by DOM ID
$paginator->options(array('update' => 'content','indicator' => 'spinner','url' =>$this->passedArgs));
echo $paginator->prev('<< Previous', null, null, array('class' => 'disabled'));
echo $paginator->next('Next >>', null, null, array('class' => 'disabled'));
?>
And my page url is http://total.projectsjunction.com/artists/portfolios/1
Now I have a problem.I am using AJAX based paging with cakePHP But when i click on next page it calling header and footer two times.
How I can call layout only one time if I use function two time with ajax.
kindly give your support.
Thanks