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

[eluser]DumpProgrammer[/eluser]
Sorry but I cant understand how I will be able to implement that because I think my problem has been started by how I have done my site all together. I am loading multiple views but only calling them from the view file. I will have to try to move all my views to load from the controller and not directly in the view. After that I can the use the paginating class from the controller.

I will have to see how I can easily concat the views into the controller. I have solved the inserting of div tags after every 2 items by using
Code:
if($z%2) and $z++
but I am still stuck on the paginating. Until I can get all this
Code:
<?php $this->load->view('newheader'); ?>
<?php $this->load->view('newnav'); ?>

<?php $this->load->view('newfeatured');?>
<?php $this->load->view('newcontent');?>
<?php $this->load->view('footer'); ?>
into the controller then I will be sorted.


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