I have the following code on about 5 different pages:
<div class="pagination">
<p class="page-numbers textcenter"><?php $this->Paginator->numbers(); ?></p>
<p class="prev-link"><?php echo $this->Paginator->prev('« Previous', null, null, array('class' => 'disabled')); ?></p>
<p class="next-link"><?php echo $this->Paginator->next('Next »', null, null, array('class' => 'disabled')); ?></p>
<p class="page textcenter"><?php echo 'Page '.$this->Paginator->counter(); ?></p>
</div>
However it behaves differently on each page. The next and previous links will appear on some pages but not others and the same for the rest of the stuff that is meant to be output.
Anyone got any ideas why this is happening?
geoffs,
i checked one of my generated views for you, and the line under concern are:
A few things come into mind:
array