afreddoss Posted February 25, 2015 Share Posted February 25, 2015 Hello, i will like to ask how to modify the register and rest pass, i will like to hide the header and the footer. i made the same for login page with those commands. {if $loginpage ne "true"} //nav menu etc {/if} Can anybody tell me how to do the same with the other pages? regards! 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted February 25, 2015 Share Posted February 25, 2015 it's very simple you can use the $filename variable inside .TPL files {if $filename=='register'} Display this text when browsing register.php page only {/if} {if $filename!='pwreset'} Hide this text when browsing pwreset.php {/if} $filename = filename without the ".php" suffix/ext. 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.