[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.