Mesu Posted June 27, 2021 Share Posted June 27, 2021 I would like to remove the login page header which by default is on every page. Observation: {if $filename!="login"} {/if}It does not work for me 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted June 28, 2021 Share Posted June 28, 2021 (edited) 14 hours ago, Mesu said: I would like to remove the login page header which by default is on every page. Observation: {if $filename!="login"} {/if}It does not work for me If you mean` whmcs/templates/{template}/login.tpl` remove the line 3 which includes `pageheader.tpl` Otherwise, try `{if $templatefile != "login"}{/if}` or `{if $templatefile neq "login"}{/if}` Edited June 28, 2021 by pRieStaKos 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 28, 2021 Share Posted June 28, 2021 depending on your friendly url settings, filename might never equal login. 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.