Welcome Guest, Not a member yet? Register   Sign In
Application Constants (header, footer)
#1

[eluser]x_dde_x[/eluser]
Still trying to figure Codeigniter out... In my previous sites, I've always constructed around not re-writing header and footer information on each view. For example, I would render the page thusly from the index call:
Code:
include('header');
include('PAGE_URL');
include('footer');

And all meta data and css links would be appended, and the page would be constructed.

Does CodeIgniter have a similar mechanism, or do you have to load other views in each individual view file?


Messages In This Thread
Application Constants (header, footer) - by El Forum - 12-02-2008, 11:23 AM
Application Constants (header, footer) - by El Forum - 12-02-2008, 11:51 AM
Application Constants (header, footer) - by El Forum - 12-02-2008, 12:49 PM
Application Constants (header, footer) - by El Forum - 12-02-2008, 01:29 PM
Application Constants (header, footer) - by El Forum - 12-02-2008, 01:31 PM
Application Constants (header, footer) - by El Forum - 12-02-2008, 02:10 PM
Application Constants (header, footer) - by El Forum - 12-02-2008, 03:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB