cakePHP 分页视图
所以我为 cakePHP 设置了分页。
我遇到的问题是在以下视图中
<?php echo $this->Paginator->prev('« Previous'); ?>
<?php echo $this->Paginator->numbers(); ?>
<?php echo $this->Paginator->next('Next »'); ?>
所以发生的情况是数字显示正常,我可以查看不同的页面。问题是上一个和下一个按钮不显示。我正在分页 3 个页面。
如果我缺少任何内容,请告诉我。
So I have Pagination setup for cakePHP.
The problem I get is in the views with the following
<?php echo $this->Paginator->prev('« Previous'); ?>
<?php echo $this->Paginator->numbers(); ?>
<?php echo $this->Paginator->next('Next »'); ?>
So what happens is the numbers show up fine and I can view the different pages. The problem is that the previous and next button don't show up. I have 3 pages that I am paging.
Please let me know if there is anything that I am missing.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许 CSS 将它们设置为禁用?
无论如何尝试
Maybe the CSS It's setting them as disabled?
Anyhow try