• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Improve Pagination CI 3x

#1
Hi, everybody

Please have a look at the attachment files 

as we can see there are lots of links. I want it with dot format

http://prntscr.com/gzmvl3
[Image: gzmvl3]


Thanks

Nasiruddin 

ABN WEBTECH


Attached Files Thumbnail(s)
   
Reply

#2
Look the Pagination Class.

Try this:

PHP Code:
<?php
defined
('BASEPATH') || exit('No direct script access allowed');

$config['suffix'               '';
$config['use_global_url_suffix'] = false;
$config['use_page_numbers'     true;
$config['num_links'            4;
$config['full_tag_open'        '<nav><ul class="pagination">';
$config['full_tag_close'       '</ul></nav>';
$config['first_link'           'Primeiro';
$config['first_tag_open'       '<li>';
$config['first_tag_close'      '</li>';
//$config['first_url'] = '';
$config['last_link'           'Último';
$config['last_tag_open'       '<li>';
$config['last_tag_close'      '</li>';
$config['next_link'           '<span aria-hidden="true">&raquo;</span>';
$config['next_tag_open'       '<li>';
$config['next_tag_close'      '</li>';
$config['prev_link'           '<span aria-hidden="true">&laquo;</span>';
$config['prev_tag_open'       '<li>';
$config['prev_tag_close'      '</li>';
$config['cur_tag_open'        '<li class="active"><a href="#">';
$config['cur_tag_close'       '</a></li>';
$config['num_tag_open'        '<li>';
$config['num_tag_close'       '</li>';
$config['num_tag_close'       '</li>';
$config['attributes']['rel'   false;
$config['page_query_string'   true;
$config['query_string_segment'] = 'page'
Reply

#3
Thanks
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.