Welcome Guest, Not a member yet? Register   Sign In
using the paginating class
#1

[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'); ?>
&lt;!-- end #sidebar1 --&gt;</div>
<div id="mainContent">

&lt;?php $this->load->view('newfeatured');?&gt;
&lt;?php $this->load->view('newcontent');?&gt;
&lt;?php $this->load->view('footer'); ?&gt;
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.


Messages In This Thread
using the paginating class - by El Forum - 02-06-2010, 10:31 AM
using the paginating class - by El Forum - 02-06-2010, 02:10 PM
using the paginating class - by El Forum - 02-06-2010, 02:28 PM
using the paginating class - by El Forum - 02-07-2010, 07:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB