web2008 Posted August 29, 2019 Share Posted August 29, 2019 I use the code below in header.tpl to hide the header on login pages and this works fine. But when the client want to reset the password from the link in the email ( pwreset.php ) it is not possible to save the new password! Can this be done in a different way, or does anyone know the "trick" here? {if !$showingLoginPage} 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 29, 2019 Share Posted August 29, 2019 untested, but could you put an exception in.. ? {if !$showingLoginPage || $templatefile eq 'pwreset'} i'm not sure if the boolean logic is right, but try it and see.. 0 Quote Link to comment Share on other sites More sharing options...
web2008 Posted August 29, 2019 Author Share Posted August 29, 2019 The header header now appears on pwreset.php and save password still do not works. It seems that the header must be displayed on the page where you change the password, in order to save. 0 Quote Link to comment Share on other sites More sharing options...
web2008 Posted August 29, 2019 Author Share Posted August 29, 2019 If I use the following it works: {if !$showingLoginPage || $templatefile eq 'pwresetvalidation'} It looks like pwreset.php is using both pwreset.tpl and pwresetvalidation.tpl Thanks brian! you put me on track ! 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.