[eluser]Unknown[/eluser]
Hi there,
I really enjoy CI, and the controller/view thing.
I'm using CI since just a few days, and I have a simple question.
I have a controller for an index page, which calls the header view, the sidebar view, the index view, and the footer view.
I must include much code inside the sidebar (you know, login stuff, etc) and this code has to be available from the whole site, not just from the index page.
How can I do this? I initially thought about making a controller for the sidebar view, and then calling the controller inside the index controller, but maybe this isn't the best idea. However I don't know how to do this.
How can I solve this?
Thank you!
Matteo.