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 126.96.36.199 (Build: 2015040900).
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
Cannot replicate in V188.8.131.52....
Just nudging in to say - do you mean 'Log in as' or do you mean 'Switch role to'?
And when logged in as another user, then no option but to log out and go to main screen....
And in Clean....
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?
Ok... Footer in clean....
Rectified in V184.108.40.206 which will be released at some point in the future: https://github.com/gjb2048/moodle-theme_essential/commit/9720ed7be025b145ccfb008ed5954d774c6c0c12.
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!!
Thanks Blair, feel free to make a donation to the cause .