codeigniter分页中的第一个数字页的URL [英] URL for first number page in codeigniter pagination
本文介绍了codeigniter分页中的第一个数字页的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在链接编号 1
上像在其他链接中一样,在codeigniter分页中启动(刷新)页面
How can put url for link number 1
like other links, in codeigniter pagination, when start(refresh) page
«第一& 1 2 3 4 5>最后»
« First < 1 2 3 4 5 > Last »
默认数字 code>为
< strong> 1< / strong>
。
这是怎么回事?
推荐答案
这是在分页的配置。
从文档( http://codeigniter.com/user_guide/libraries/pagination.html ):
It's in the config for pagination. From the docs ( http://codeigniter.com/user_guide/libraries/pagination.html ):
//Customizing the "Current Page" Link
$config['cur_tag_open'] = '<a href="'.base_url().$this->uri->uri_string().'">';
$config['cur_tag_close'] = '</a>';
您可以将这些值更改为< span>
或任何您选择的。
You can change the values of these to <span>
or whatever else you choose.
这篇关于codeigniter分页中的第一个数字页的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文