theo Posted March 15, 2018 Share Posted March 15, 2018 Hi I have a preview user with a preview role, meaning he can only view but not edit pages (Maintenance Mode). How can he log out? (e.g. if he would like to log in with an editor role later). Afaics, he cannot do anything from here except clicking "Continue" to view the site. Even if I give him "profile-edit" permission, he doesn't see anything but this. I know he could clear browser data, but there should be an official way to log out. Is there a way? Thank you. Link to comment Share on other sites More sharing options...
Soma Posted March 15, 2018 Share Posted March 15, 2018 Via the "Logout" ? Link to comment Share on other sites More sharing options...
theo Posted March 15, 2018 Author Share Posted March 15, 2018 @Soma Thank you, but this is not visible in AdminThemeUikit. And UiKit can't be deselected for the Login screen in PW 3.0.95 anymore, because it is not selected (just default) Shall I write an issue report? Link to comment Share on other sites More sharing options...
Soma Posted March 15, 2018 Share Posted March 15, 2018 Oh, it's a theme issue? Sorry, never used other AdminTheme. 1 Link to comment Share on other sites More sharing options...
theo Posted March 15, 2018 Author Share Posted March 15, 2018 Issue report: https://github.com/processwire/processwire-issues/issues/539 Thank you. 1 Link to comment Share on other sites More sharing options...
theo Posted March 16, 2018 Author Share Posted March 16, 2018 Hello Can anybody help me with this? I have the impression that Ryan does not understand me (see issue tracker link above). I don't need a new function, it is all there, but hidden (for a reason?) in AdminThemeUikit. If I add one line in wire/modules/AdminTheme/AdminThemeUikit/uikit/dist/css/uikit.pw.min.css ul.uk-nav-sub { padding: 5px 0 5px 0; display:block !important; /*theo*/ } then the options that I need (mainly Logout) show up nicely in mobile mode: But why are they hidden in AdminThemeUikit? They are visible in AdminThemeDefault. From Ryan's response in the tracker, I guess he thinks that I want something special or "wrong". But I would just like to make visible what is already there for good reasons. Can anybody explain what is wrong with this? Thank you. Link to comment Share on other sites More sharing options...
theo Posted March 17, 2018 Author Share Posted March 17, 2018 Ha! I feel like Sherlock Holmes now! There IS a way to do what I need without CSS tweaking or installing hooks. It is just very hidden. Probably not even Ryan knows about it. In Modules -> Configure -> AdminThemeUikit under "Masthead and Navigation" change "Masthead logo click action" to "Open offcanvas navigation". Then, as "preview" user click the PW logo (top-left corner), then click your login name, and then you will see "Logout" and "View site" links. It works, but I think it should be more visible. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now