edited May 2011 in Installation
I wasn't really able to find any documentation on pagination for fuel cms. I am following the documentation that codeigniter has available and everything works perfect, but when I click on the next page. I get an error.

An Error Was Encountered
The configuration file development/fuel.php and fuel.php do not exist.


// load pagination class
$config['base_url'] = base_url().'tour/';
$config['total_rows'] = $this->db->count_all('shows');
$config['per_page'] = '5';


//load the model and get results
$vars['rows'] = $this->shows_model->index($config['per_page'],$this->uri->segment(3));

// use Fuel_page to render so it will grab all opt-in variables and do any necessary parsing
$page_init = array('location' => 'tour');
$this->load->module_library(FUEL_FOLDER, 'fuel_page', $page_init);


<?php echo $this->pagination->create_links(); ?>


Sign In or Register to comment.