Welcome Guest, Not a member yet? Register   Sign In
A Controller Load a View by another Controller
#1

[eluser]Sarwar CSE[/eluser]
I have designed a template, which have three panels left, middle & right. Some module will be loaded in the left panel. Every module contain a model, controller & view. I want let the module be loaded by their controller in my left panel
I can load the module like this way :-
Code:
$data['leftpanel'].=$this->load->view('news','',true);
If I load news module by this way then the variable I am using in the view are coming from news controller is getting these data from news model. So I can’t load the model like this.
So what’s the feasible solution.


Messages In This Thread
A Controller Load a View by another Controller - by El Forum - 10-26-2009, 03:03 AM
A Controller Load a View by another Controller - by El Forum - 10-26-2009, 06:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB