开发者

codeigniter pagination class : change seprator

开发者 https://www.devze.com 2023-01-04 17:29 出处:网络
I want to create pagination like example below, using开发者_如何学Python codeigniter pagination library:

I want to create pagination like example below, using开发者_如何学Python codeigniter pagination library:

1 | 2 | 3 | 4 .....

But when I look at config array in that library there is no option to do that. How can I fix this?


$config['num_tag_open'] = ' | ';
$config['num_tag_close'] = ' | ';

Something like this. You'll have to play around with different tag configurations depending on how you have it set up, but the tag config options is what you're looking for.

0

精彩评论

暂无评论...
验证码 换一张
取 消