ncd200 Posted October 25, 2017 Report Share Posted October 25, 2017 (edited) Hello, I am creating my own admin template as shown on the shot below, I am trying to show the menu on all pages, that works if i put the line in the layout. I am using the freeware crewcenter as a guide on hot to set things up so the following lines are present in the layout to show the menu everywhere. Quote <?php require 'app_top.php' ?> Only problem is that the menu based in the app_top.php is also visible in the login page. Does anyone lnow how to exclude this from the login and registration pages? Edited October 25, 2017 by ncd200 Wrong forum. Please close Quote Link to comment Share on other sites More sharing options...
smokey68 Posted October 25, 2017 Report Share Posted October 25, 2017 (edited) @ncd200 Change This <?php require 'app_top.php' ?> To This <?php if(Auth::LoggedIn() == true){ ?> <?php require 'app_top.php' ?> <? } ?> Edited October 25, 2017 by vbegin7 Quote Link to comment Share on other sites More sharing options...
ncd200 Posted October 26, 2017 Author Report Share Posted October 26, 2017 Thanks mate, Works !! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.