This topic is locked

How to hide header on certain pages?

5/1/2020 1:01:06 PM
PHPRunner Tips and Tricks
Sergey Kornilov admin

To hide a header on any page add the following code to BeforeDisplay event of that page:

$xt->assign("header", "");
R
ringlis1 5/21/2020

This is useful. How to hide the nav bar that is just under the header that contains the logo, menu, search field and who is logged in?
I am able to use the following to remove most of the items, but, the bar is still there:

$xt->assign("menu", "");

$xt->assign("logo", "");

$xt->assign("username", "");

$xt->assign("navbar-header", "");