Welcome Guest, Not a member yet? Register   Sign In
How to Add Dynamic Header and Footer
#6

(This post was last modified: 05-09-2018, 01:56 PM by qury.)

The solution is fairly simple:

PHP Code:
$header['title'] = "Header";
$data['title'] = "Home";
$footer['title'] = "Footer";

 
       $this->load->view('themes/default/templates/common/header'$header);
 
       $this->load->view('themes/default/templates/common/home'$data);
 
       $this->load->view('themes/default/templates/common/footer'$footer); 
Reply


Messages In This Thread
RE: How to Add Dynamic Header and Footer - by qury - 05-09-2018, 01:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB