• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pagination in categories

im making a cms. but i have a problem with my structure.
for example if user want to see page 2 of category 5, he must goto this url:
how can i write a method for it in my controller "category.php"?

i use this structure for my homepage
so, my controller code is:
if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Home extends CI_Controller {

    public function index(){...}

    public function page($pageid){...}

but in category page i have that problem.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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