[eluser]epseix[/eluser]
Guys, I am looking for a bit of advice regarding structure and/or best practice for page content through Codeigniter MVC.
My website template takes the standard structure of having a main content section on every page (populated by MySQL), with a static header, footer and sidebar of common links, features etc.
I've learned how to work with the database and Codeigniter MVC and as far as my main content goes.
However... I now need to begin to populate the data for my sidebar and header/footer etc. - and I'm unsure about the best way to instigate other MySQL queries around the main query to do this.
Is auto-loading the most readily-used solution?
Would I create these queries in a helper, or would I have to load with every controller?
I suppose my real question is - what does everybody else do?