This topic is locked
[SOLVED]

Login Button on Mobile

2/5/2023 3:27:43 PM
PHPRunner General questions
Spider Webster author

I cant for the life in me get the login button to show on mobile unless the phone is turned to landscape. Users wont know that they need to do this so wont be able to login.
Does anyone have a tip to get it showing on mobile portrait
img alt

img alt
.

S
smez 2/7/2023

I solved this by deleting the standard login button and adding a custom button instead with this js in clientBefore:

window.location.href = "login.php?return=true";
return true;
Spider Webster author 2/7/2023

Thank you Smez that works.
I had done something similar but after login it took me to the main landing page, this is perfect login, and stays on same page.
!!! Thank You !!!