Layouts |
[eluser]Unknown[/eluser]
I've been in Rails-land for the past few months, so excuse the terminology, but I wasn't sure what else to call them. Basically the header and footer on every page are the same, but the middle part, the content, is what changes. How can I use layouts so that I can change something in the header file and have the change reflected site-wide? I've peeled over the documentation and I couldn't find anything, but I'm pretty sure CI has this functionality... Thanks a lot ![]()
[eluser]Tom Glover[/eluser]
you are Correct, CI does have functionality for this, and it can be done in one of two ways which are both listed in the wiki below: Displaying Multiple Views Another Way is to use a templating system. Such as: YATS Hope this Helps. |
Welcome Guest, Not a member yet? Register Sign In |