Welcome Guest, Not a member yet? Register   Sign In
Modular Page
#2

[eluser]Phil Sturgeon[/eluser]
You could perhaps split it into 1 view segment for each of the different sections, then have a master view that would load each section in? The master view would look like:

Code:
<div id="calender">
&lt;?=$this->load->view('calender', array(), TRUE);?&gt;
</div>
<div id="tasks">
&lt;?=$this->load->view('tasks', array(), TRUE);?&gt;
</div>

Would involve you passing the information in a clever way, perhaps have a multi-dimentional array like:

Code:
$data['calender'] = $stuffs;

Then you can insert the $calender variable in the view load.


Messages In This Thread
Modular Page - by El Forum - 09-23-2007, 03:40 PM
Modular Page - by El Forum - 09-24-2007, 03:43 AM
Modular Page - by El Forum - 09-24-2007, 07:02 AM
Modular Page - by El Forum - 09-24-2007, 10:02 AM
Modular Page - by El Forum - 09-24-2007, 10:04 AM
Modular Page - by El Forum - 09-24-2007, 10:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB