[eluser]Unknown[/eluser]
Hi everybody,
I just started out with CI, and i couldn't seem to find if and (maybe) how i can use multiple controllers in 1 controller.
This may sound a bit weird, so let me explain to you what i want.
I have one main template, that i always want to load.
This contains a Menu, a content area and a sidebar.
What i would like to do/have is:
Have 1 controller that loads the menu and content area.
Have 1 controller that loads the sidebar.
The menu and content area have thing in common, like page title and such, and therefor i want them in 1 controller.
But the sidebar is always the same, and needs a bit of coding.
Now i'm trying to keep the sidebar code out of my controller, so i wouldn't have to copy-paste it all the time.
Is this possible? and if so, How can i achieve this?
Kind Regards,
Nico Kaag