Welcome Guest, Not a member yet? Register   Sign In
How do I create a nested view within a nested view?
#5

(This post was last modified: 09-26-2017, 09:34 PM by codeguy.)

Thanks for the encouraging reply. But I am confused that I see no data being transferred to your views. Like I'd expect something like . .

$this->load->view('partials/profile_view',$profile_data);

. .  perhaps preceded by a line like . .

$modRetArr['profile_data']=$this->M_profiles->get_profiles_data($params);

How do the views get the data? Is what you posted a full controller?

A few hrs later ***************** after studying your reply several times I wonder if perhaps the view load stmts did not require data because it was loaded into the views earlier. If so could you show that part possibly? Or maybe you thought I understood that part already and didn't need to show it. Or maybe they didn't use any dynamic data. I'm probably missing something simple and fundamental. Thanks for your patience.
Reply


Messages In This Thread
RE: How do I create a nested view within a nested view? - by codeguy - 09-26-2017, 03:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB