I like to overload the header partial at front-end. I have a module that customizes the header but it doesn't work. I tried using this one in index of my controller ->set_partial('header','header.html')
and I have my header.html
in my module-name/views/header.html
, the header which is in system/cms/themes/default/views/partials/header.html
does not override which should be and I don't know what causing it. I've seen it in this discussion: here
My controller is in this case if for front-end (filename is same as the name of module) then the $this->template->set_partial('header','header.html');
doesn't work. Please help me as I started pyrocms a few days ago and a newbie web developer.
Any help is appreciated. Thanks!