[eluser]DumpProgrammer[/eluser]
I need to use the paginating class but I am to sure on how I can implement it in my view file. My home page is like this
Code:
<?php $this->load->view('newheader'); ?>
<?php $this->load->view('newnav'); ?>
<!-- end #sidebar1 --></div>
<div id="mainContent">
<?php $this->load->view('newfeatured');?>
<?php $this->load->view('newcontent');?>
<?php $this->load->view('footer'); ?>
I need to put the pagination in the
newcontent.php so will I be able to load the paginating class in the view file because in the controller I am only loading the info that will be required by all these views.
I would also like to add a div tag for every 2 items and display 4 per page so is there somewhere in the config file I can add the div for every 2 items.