-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login page displays the admin theme logo #6836
Comments
As mentioned during the weekly meeting, the current behavior is 'logical' from a technical point of view, but it's not what people would expect or even want. Recording of the topic in the weekly meeting of January 23, 2025: https://www.youtube.com/live/ObNrrDKUJDI?t=1858 |
One idea raised by @quicksketch in the weekly meeting was to not display the Backdrop logo for Seven on the login pages, also because it's not displayed anywhere else when you use the theme. I like the idea. What do others think? |
That's almost true, as it's displayed on - for example - the update page: But on the login page it doesn't make much sense. I belief, we agree here. (Why the admin theme is even usable for the login page, and is the default is completely off topic here. 😁 ) |
Part of the reason this is convoluted is because the If the Header block is added there is now options to show logo, site name and site slogan. These may not behave quite as you expect, but now you can see. The update page is different, it doesn't use a layout and already designates a spot for the logo. When When the This suggests that the Backdrop logo is the default logo for the Seven theme and by default only visible on the update (non-layout) page. One the other hand if |
@izmeez Thanks for your input. Your comments have made me more aware that the wording of the option "Use the logo supplied by the active theme" may not make the crucial point clear enough: That it could indeed be the admin theme which supplies the logo. When I saw the word "logo" in this context, I never thought at the admin theme. So, I think it would be good to provide a description text which makes things more clear. Apart from that, I'm still for changing the behavior. Either just not show the admin theme logo on the login page (as suggested in a comment above). Or change the form on |
I repeated the steps described in my earlier comment with the Gin theme as the admin theme. The Gin theme has a logo and it is BIG. There is no css sizing in the admin layout. Three things come to mind.
|
I opened a separate issue for square logos being too large that was mentioned in the dev meeting. For this issue of which logo shows on the simplified login page when the administration theme is chosen for the simplified login, there is one more nuance to replicating the problem. The active theme for the website must itself have a logo. If the site theme does not include a logo, even if the site information option to use the logo supplied by the active theme is selected (noting it is the default for Backdrop), the simplified login will NOT show a logo even when the option to use the administration theme, that has a logo like seven or gin, is chosen. It is only when the site theme includes a logo this problem occurs, showing the admin theme logo on the simplified login using admin theme. Some may consider this to be the desired behaviour, similar to how other products like Wordpress, show a generic Wordpress login. But, there is the nuance in the logic, requiring that the theme chosen for the site must itself have a logo. |
Looking at this issue from where it arose in #6570 (comment) it appears that the goal was to have a default backdrop login for any sites that want it, like Wordpress and the others have, "boldly showing it is Backdrop". Anyone who doesn't want that can still have a simplified login with the theme they are using and not use the admin theme. This is probably the most anticipated use case, whether they use the logo provided by the active theme (backdrop default unchecked), or a custom logo path configured at Meanwhile, the login style is configured at The backdrop default for this new feature is to use the If the site information logo settings is changed to use the logo supplied by the active theme it works in conjunction with the backdrop default A better solution for the option: to use the simplified login with admin theme aka generic display, should not be dependent on the site information setting, it should always use the Backdrop logo, the logo used by the Seven theme. But, what happens when the Gin theme is used as the admin theme, if the logo supplied by the admin theme is used it will not be the Backdrop logo. Therefore, should the simplified login with admin theme always use the Backdrop logo from core not the logo supplied by the admin theme? An edge case may be to use the site theme as the admin theme in which case the simplified login with admin theme would look like the option without the admin theme, except it would use the Backdrop Logo like the generic login display. To achieve this, the option will need to be coded to always use the Backdrop logo and the text changed to: `Use the administration theme with Backdrop logo.' |
Interesting observerations and thoughts, @izmeez! I find the questions almost too complex to progress in written discussion. Perhaps it would be good to discuss the topic again at a weekly meeting. |
Or a PR may help. I'll see what I can do. |
Actually, the more I think about it the more I think just changing the backdrop default for Then, out of the box, Backdrop 1.30.0 new simplified login with admin theme will display the Backdrop logo as desired. Also, when trying different themes, any that have a logo will display them which is the desired behaviour. I found myself confused because Basis doesn't seem to have a logo, which surprised me. When you see the simplified login shows the Backdrop logo, not your active theme logo, the The support to use the admin theme for login is already there and will provide the desired look out of the box. Some use cases may prefer the option to use the admin theme while still being able to brand both the active and admin themes with custom logo. Although, using another theme for the admin theme, such as the Gin theme, will display its logo unless a custom logo is specified. Again, this may be as expected. |
For reference here is the PR that was committed, backdrop/backdrop#4966 |
And the issue that PR was for, #6799 |
Description of the bug
When you show the Simplified login pages introduced in Backdrop 1.30.0 and use the admin theme for those pages, the Logo setting "Use the logo supplied by the active theme" on the "Site information" page results in a login page that doesn't display the logo of your frontend theme but the one provided by the admin theme, e.g. the Backdrop logo for Seven.
Steps To Reproduce
To reproduce the behavior:
admin/config/people/login
choose "Show simplified page" and enable "Use the administration theme for simplified login pages" (default setting for new sites).admin/config/system/site-information
), scroll to the Logo settings, and enable the checkbox "Use the logo supplied by the active theme".Actual behavior
The Login page shows the Backdrop logo.
Expected behavior
The page shows the logo from the default frontend theme.
The text was updated successfully, but these errors were encountered: