We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$this->pluginHandle()->trigger($hasNav)->pageNav接口缺少 $template参数,加上后才方便相关定制,不知道我想的对不?
$this->pluginHandle()->trigger($hasNav)->pageNav
$template
$this->pluginHandle()->trigger($hasNav)->pageNav( $this->currentPage, $total, $this->parameter->pageSize, $prev, $next, $splitPage, $splitWord, );
改成
$this->pluginHandle()->trigger($hasNav)->pageNav( $this->currentPage, $total, $this->parameter->pageSize, $prev, $next, $splitPage, $splitWord, $template );
The text was updated successfully, but these errors were encountered:
其实是支持自定义参数的,只是原来的写法失效了,不知道是不是兼容性问题, 把分页的参数改成字符串格式可以暂时解决这个问题; 修改前
<?php $this->pageNav('«', '»', 3, '...', array('wrapTag' => 'ol', 'wrapClass' => 'pagination', 'itemTag' => 'li', 'textTag' => 'span', 'currentClass' => 'active', 'prevClass' => 'prev', 'nextClass' => 'next')); ?>
修改后
<?php $this->pageNav('«', '»', 3, '...', 'wrapTag=ol&wrapClass=pagination&itemTag=li&textTag=span¤tClass=active&prevClass=prev&nextClass=next'); ?>
如图
Sorry, something went wrong.
这个我知道,你没懂我的意思,我是说用接口实现更强的定制,而接口缺少了个必要的参数
@joyqi 除了上述问题外,Widget\Comments\Archive.php,这个评论列表的翻页按钮也加个插件接口吧
Widget\Comments\Archive.php
0916631
@noisky 现在应该可以了
No branches or pull requests
$this->pluginHandle()->trigger($hasNav)->pageNav
接口缺少$template
参数,加上后才方便相关定制,不知道我想的对不?改成
The text was updated successfully, but these errors were encountered: