[eluser]Freakish_05[/eluser]
Hello everyone!
I'm very new to CI (started on Friday) but I've already picked up quite a bit of it. I've also integrated smarty and I've got that working well too.
My problem is that, before using CI, I used to have an index.php file which contained all the header information etc and then had php includes for the navbar (database stored links), the sidebar (also with database stuff) and content which is obviously the meat of the page.
Using Smarty I've been able to include 'header.tpl', 'footer.tpl' and 'side.tpl' but the problem is that all of these elements (except 'footer.tpl' need to display dynamic elements. These will obviously need to have separate controllers.
I've been searching these forums for viable solutions and coolfactor's extended myview class appears to be the best solution for CI only apps, I'm not sure how I'd apply it to Smarty though :-S
Any help greatly appreciated,
Freakish_05