bass Posted March 13, 2017 Report Share Posted March 13, 2017 Hi, could you tell me in what file you can change the download site ?Now the page is loaded the website frontpage_main.tplI want to make that site the first page loaded Login_form.tpl Quote Link to comment Share on other sites More sharing options...
web541 Posted March 13, 2017 Report Share Posted March 13, 2017 Try this line https://github.com/DavidJClark/phpvms_5.5.x/blob/master/core/modules/Frontpage/Frontpage.php#L27 1 Quote Link to comment Share on other sites More sharing options...
Moderators ProSkyDesign Posted March 14, 2017 Moderators Report Share Posted March 14, 2017 (edited) Try this: (on frontpage_main.tpl) <?php if(Auth::LoggedIn()) { header("Location: /index.php/profile"); } else { header("Location: /index.php/login"); } ?> you can change the "profile" to other page that you want to display to logged In pilots on header("Location: /index.php/profile"); Edited March 14, 2017 by joooseb Quote Link to comment Share on other sites More sharing options...
bass Posted March 14, 2017 Author Report Share Posted March 14, 2017 9 hours ago, web541 said: Try this line https://github.com/DavidJClark/phpvms_5.5.x/blob/master/core/modules/Frontpage/Frontpage.php#L27 Thanks, works ) 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.