• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can you check my pagination?[SOLVED]

#13
(02-10-2017, 11:14 PM)pdthinh Wrote:
PHP Code:
// $config['query_string_segment'] = 'paginas';
// $config['page_query_string'] = TRUE; 

If your controller is news and method is blog(), so the the route should like:

PHP Code:
// $route['blog'] = 'news/blog/index'; // comment this line to test
$route['blog/(:num)'] = 'news/blog/$1'
// $route['blog/(:any)'] = 'blog/view/$1'; // also comment this line 

Hey, it's working now :Smile Thanks  so much, I've been trying to figure out what was the problem with it. and finally you came out with it.
I could have done it by myself, but I never thougt that it was going to be just about changing the route file.
I do Front-End development most of the time 
Reply


Messages In This Thread
RE: Can you check my pagination? - by Wouter60 - 02-08-2017, 11:48 PM
RE: Can you check my pagination? - by kirasiris - 02-09-2017, 12:53 AM
RE: Can you check my pagination? - by Wouter60 - 02-09-2017, 05:42 AM
RE: Can you check my pagination? - by kirasiris - 02-09-2017, 06:12 AM
RE: Can you check my pagination? - by Wouter60 - 02-09-2017, 08:56 AM
RE: Can you check my pagination? - by kirasiris - 02-09-2017, 06:25 PM
RE: Can you check my pagination? - by Wouter60 - 02-09-2017, 11:40 PM
RE: Can you check my pagination? - by kirasiris - 02-10-2017, 12:50 PM
RE: Can you check my pagination? - by pdthinh - 02-10-2017, 10:01 PM
RE: Can you check my pagination? - by kirasiris - 02-10-2017, 10:46 PM
RE: Can you check my pagination? - by pdthinh - 02-10-2017, 11:14 PM
RE: Can you check my pagination?[Solved] - by kirasiris - 02-10-2017, 11:52 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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