cakePHP分页视图



我为cakePHP设置了分页

我得到的问题是在以下

的视图中
<?php echo $this->Paginator->prev('« Previous'); ?>
<?php echo $this->Paginator->numbers(); ?>
<?php echo $this->Paginator->next('Next »'); ?> 

所发生的是数字显示良好,我可以查看不同的页面。问题是上一个和下一个按钮不显示。我有3页要分页。

请让我知道,如果有什么我错过了。

可能是CSS将它们设置为禁用?

不管怎样尝试

<?php echo $this->Paginator->prev('« Previous', null, null, array('class' => 'disabled')); ?>
<?php echo $this->Paginator->next('Next »', null, null, array('class' => 'disabled')); ?> 

最新更新