Welcome Guest, Not a member yet? Register   Sign In
Multiple Views & Dynamic Data
#3

[eluser]Michael Wales[/eluser]
I would just load the dynamic data for my sidebar into $data['sidebar'] pass the $data array to the main view (which will hold all your other dynamic data). Then load the sidebar, from the main view, as such:
Code:
$this->load->view('sidebar', $sidebar);


Messages In This Thread
Multiple Views & Dynamic Data - by El Forum - 08-08-2007, 11:27 AM
Multiple Views & Dynamic Data - by El Forum - 08-08-2007, 01:42 PM
Multiple Views & Dynamic Data - by El Forum - 08-08-2007, 07:14 PM
Multiple Views & Dynamic Data - by El Forum - 08-08-2007, 07:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB