Answer the question
In order to leave comments, you need to log in
How to make a separate header for the entire "account" directory?
How to make a separate header for the entire "account" directory?
I know that in order to change the header for one page, let's say "login" can be used in "controller/common/header.php":
if ($this->request->get['route']==' account/login') {
return $this->load->view('common/login_header', $data);
} else {
return $this->load->view('common/header', $data);
}
if (strpos($this->request->get['route'], 'account/' === 0)) {
...
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question