Welcome Guest, Not a member yet? Register   Sign In
Templating question?
#5

[eluser]RecoilUK[/eluser]
Hi

Thanks for the reply.

Code:
$this->load_>view("my_header_view", $header_data);

This will certainly be used, my question was regarding the building of $header_data, how can I seperate this into a seperate file and call this file from everypage that needs it.

I have been reading the user guide, and I think this may be what i,m after.

Code:
$this->load->file('module/header', false);

So long as I keep this file procedural, I shouldnt run into any problems, would this be correct?

Thanks


Messages In This Thread
Templating question? - by El Forum - 01-18-2010, 09:51 AM
Templating question? - by El Forum - 01-18-2010, 10:04 AM
Templating question? - by El Forum - 01-18-2010, 11:27 AM
Templating question? - by El Forum - 01-18-2010, 04:00 PM
Templating question? - by El Forum - 01-24-2010, 09:33 PM
Templating question? - by El Forum - 01-24-2010, 10:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB