• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What's the practical way to load header and footer

#1
[eluser]EEssam[/eluser]
Hello,

I'm wondering what is the most practical way to load a header and a footer.

I know I can do:

$this->load->view('header');
$this->load->view('myview');
$this->load->view('footer');

But I just don't see how I should call this in almost each function in my controller classes.

Please advise.


Messages In This Thread
What's the practical way to load header and footer - by El Forum - 06-08-2008, 09:04 PM
What's the practical way to load header and footer - by El Forum - 06-08-2008, 09:25 PM
What's the practical way to load header and footer - by El Forum - 06-08-2008, 09:47 PM
What's the practical way to load header and footer - by El Forum - 06-08-2008, 09:48 PM
What's the practical way to load header and footer - by El Forum - 06-08-2008, 10:13 PM
What's the practical way to load header and footer - by El Forum - 06-09-2008, 12:57 AM
What's the practical way to load header and footer - by El Forum - 06-09-2008, 01:08 AM
What's the practical way to load header and footer - by El Forum - 06-09-2008, 10:29 AM
What's the practical way to load header and footer - by El Forum - 06-09-2008, 12:16 PM
What's the practical way to load header and footer - by El Forum - 06-22-2008, 05:34 PM
What's the practical way to load header and footer - by El Forum - 06-22-2008, 05:53 PM
What's the practical way to load header and footer - by El Forum - 06-22-2008, 05:56 PM
What's the practical way to load header and footer - by El Forum - 06-23-2008, 09:29 AM
What's the practical way to load header and footer - by El Forum - 06-23-2008, 10:44 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.