[eluser]josephfley[/eluser]
Hi,
First than all sorry my english isn't that good. Anyway I'm developing a small site with CI but have a few question:
1. Where is the best place to put utility functions and constants shared by the whole site? Helper? Library? somewhere else?
2. I have split my page layout into footer, header, products_box, etc... Then created the main views (the ones I load from the controller) where is page content and there I load the other parts, the problem is that I need to display dynamic data on those too, so I end passing all to the main view and there having to re-wrap things and passing then to the other views. Do you load each view from the controller to avoid this? Is there a better way to handle that?
Thanks a lot