[eluser]FordEscort[/eluser]
I have three views :
- header_view
- home_view
- dynamic_menu_view
and two controllers :
- home_controller
- dynamic_menu_controller
I load the home_view by calling home_controller.
I include the header_view in home_view, and in the header_view I'd like to call the dynamic_menu_controller to load the dynamic_menu_view.
I know I can do this by simply writing $this->load->view('dynamic_menu_view') in the header_view, but I want a separated controller which will generate the data for the menu.
I've already seen something like this somewhere in the forum but I don't remember where.
Can you help me please?
Thanks.