Welcome Guest, Not a member yet? Register   Sign In
use header, body and footer all the time
#2

[eluser]srpurdy[/eluser]
Best way would be to extend the controller class using MY_Controller, pass data from that to your controllers so you use a file like header.php and footer.php as a template. You could also output your data into a small section of your layout by passing data this way as well. You could even go a step further than that and use the database to get the folder information, so you could end up with a real template system Smile

Make sense? I think they're are some good examples of how to do it in the wiki if I remember correctly.


Messages In This Thread
use header, body and footer all the time - by El Forum - 01-24-2010, 11:44 AM
use header, body and footer all the time - by El Forum - 01-24-2010, 11:56 AM
use header, body and footer all the time - by El Forum - 01-24-2010, 12:20 PM
use header, body and footer all the time - by El Forum - 01-24-2010, 01:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB