Fix about page

This commit is contained in:
Olu Amey
2022-01-09 20:44:16 -05:00
parent 78c4fafe9e
commit ec670d2cc5
6 changed files with 116 additions and 3 deletions
+14 -1
View File
@@ -23,6 +23,19 @@ class Home extends BaseController {
$this->renderExtPage('merms-home', $data);
}
public function aboutus(){
global $myfit_items;
global $practice_text1;
global $practice_text2;
$data = array();
$data["blog_post"] =$this->getBlogItems(); // $blog_post;
$data["myfit_items"] = $myfit_items;
$data["practice_text1"] = $practice_text1;
$data["practice_text2"] = $practice_text2;
$data["country"] = MERMS_COUNTRIES;
$data["merms_faq"] = MERMS_FAQ;
$this->renderExtPage('aboutus', $data);
}
//--------------------------------------------------------------------
}