Is there an easy way to move the login link back inside the hamburger menu?
We have a publicly visible wiki that may only be edited by employees. Since the last update, the login link was made visible to the left of the hamburger menu, which has caused confusion among our customers. The login page suddenly rose to our #3 most visited page (out of nearly 3000), when there are only a handful of us who are authorized to login to the site.
When the login link was inside the hamburger menu, I had a caption that said “employees only” that made it clear that it wasn’t accessible with credentials for our other sites. This worked well in the hamburger menu, but would look terrible on the main heading bar.
Hello, yes we’ve realized this and started discussing it in Brainstorming: configuration option to hide the Login button?
@CharpentierLucas It would be great if you could edit https://www.xwiki.org/xwiki/bin/view/FAQ/How%20to%20hide%20the%20Login%20button to offer explanations to move the login button inside the drawer, WDYT?
Thx
As far as I understand, there’s no easy way to move it. Just moving it around is not doable. You’ll need to remove the one in the header bar and add one in the drawer.
The path I’ll probably explore and propose in the FAQ entry for this second half would be to add back the button in an UI extension for https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/ExtensionPoint/DrawerHeaderItem . It’s already pretty advanced customization…
Thanks @CharpentierLucas, I was thinking of doing exactly that if there were no other options. From this page, it looks like it might be as simple as removing that block of velocity code from the registration page and adding it to the hamburger menu in an extension point. Is that correct?
@vmassol: A setting in the admin panel that lets us choose the old location in the hamburger menu would be ideal for our situation. We need the link to be readily available for the employees who are authorized to edit the site, while keeping the link outside the view of most site visitors. In our specific case, I used an extension point to add a caption under the login link in the hamburger menu that said “Company Employees Only” that reduced login attempts to near zero.
1 Like