分页: 1 / 1

如何调用最新评论不显示博主又指定条数。

发表于 : 2018年 4月 3日 15:25
toycq
<?php $this->widget('Widget_Comments_Recent','ignoreAuthor=true','pageSize=8')->to($comments); ?>
这样的话,pageSize参数没有效果,怎么回事啊?

Re: 如何调用最新评论不显示博主又指定条数。

发表于 : 2018年 4月 3日 17:10
ClayMore
<?php $this->widget('Widget_Comments_Recent','ignoreAuthor=true&pageSize=8')->to($comments); ?>

Re: 如何调用最新评论不显示博主又指定条数。

发表于 : 2018年 4月 3日 17:45
toycq
ClayMore 写了:<?php $this->widget('Widget_Comments_Recent','ignoreAuthor=true&pageSize=8')->to($comments); ?>

非常感谢。