Looking for some help on making a frontend login for fuel. Basically i want the user to have the ability to edit there site from the main part of the site.
They have to be logged into to use fuels system and it takes you to the backend /fuel part of the site. Im looking to have it so say they go to site.com/login and then login and it redirects them to the frontend of the site not the /fuel part of the site.
Any help in the right direction will be helpful.
TY
Comments
You could also try changing the fuel/index.php file to redirect to the home page instead of the dashboard page.
Why not put in a configuration variable to indicate where login and logout should redirect to. Changing the redirects to optionally go to "home" or better yet, for login to go to go to the originating page would be a plus -- better to be in config than to change your code and then remember that we did it.
I changed my site tonight for login and logout to go to "home" and will change them to go to the page from which they originated (best option), but I cringe that I am changing your code and that it will make future updates difficult.
Cheers
Kind Regards.
http://www.getfuelcms.com/user_guide/general/configuration
login_redirect
logout_redirect