When using "Login as.." and then returning to the normal role, I am not redirected to the page I was on previously, as expected. Instead, I'm directed to the main Moodle page. This is only happening with Essential and not with Clean. I'm using Moodle 2.8 and Essential Theme 2.8.1.4 (Build: 2015040900).
Exiting "Login as.." with Essential Theme
Number of replies: 13Re: Exiting "Login as.." with Essential Theme
Re: Exiting "Login as.." with Essential Theme
That is interesting. Which page are you on before making the role change and where do you go to after changing back to normal role?
- In Clean theme
- In Essential theme
Cheers
Mary
Re: Exiting "Login as.." with Essential Theme
Cannot replicate in V2.8.1.5....

Re: Exiting "Login as.." with Essential Theme
Just nudging in to say - do you mean 'Log in as' or do you mean 'Switch role to'?
Re: Exiting "Login as.." with Essential Theme
And when logged in as another user, then no option but to log out and go to main screen....

Re: Exiting "Login as.." with Essential Theme
And in Clean....

Re: Exiting "Login as.." with Essential Theme
Ok, admitedly there is a thing in the footer of Clean that goes back to the course which is not present in Essential, do you mean that?
Re: Exiting "Login as.." with Essential Theme
Ok... Footer in clean....

Re: Exiting "Login as.." with Essential Theme
But in Clean I do notice a different URL for 'Log out'....

Re: Exiting "Login as.." with Essential Theme
than Essential....

Re: Exiting "Login as.." with Essential Theme
Rectified in V2.8.1.6 which will be released at some point in the future: https://github.com/gjb2048/moodle-theme_essential/commit/9720ed7be025b145ccfb008ed5954d774c6c0c12.
Re: Exiting "Login as.." with Essential Theme
Thanks, everyone. Sorry for the late response. I posted just before leaving work and am just reading all of this now. It looks like Gareth has fixed it, but I will clarify some things, anyway.
- I didn't even notice the footer in Clean until you pointed it out.
- I did mean "Login as.." and NOT "Switch role to..."
- I had tried clicking on "Blair F logged in as ____ " on the user profile menu and then I tried just "Log out" and that took me to the Moodle home page. This happened from ANY page I was at at the time I chose "Log out."
Hope that clarifies everything.
Thanks, to all, for your input and thanks to Gareth for making the fix! I really, really appreciate all you do!!
Re: Exiting "Login as.." with Essential Theme
Thanks Blair, feel free to make a donation to the cause .