Ahsan Posted October 29, 2021 Share Posted October 29, 2021 I am trying to customize my login page and make it more simple I tried to hide header and footer from the page I surrounded the header.tpl with an if statement {if !$showingLoginPage} It works fine with the footer.tpl it hides the footer but when I use this code in header.tpl it destroys the page and page loose all of its styling. It displays a broken page Can I get another solution for this? 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted November 1, 2021 Share Posted November 1, 2021 Make sure the smarty {if} is surrounding the "<header"> section and not the whole content within header.tpl . 1 Quote Link to comment Share on other sites More sharing options...
Ahsan Posted November 12, 2021 Author Share Posted November 12, 2021 This Worked for me Thank You 0 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.