Hello everyone,
I have been working on a general theme for the login, register and forgot your password pages. So the idea is to have a unique template for these pages independent from any theme (no part of your theme will be visible on these pages). The template has a set width and is centered to the page (this also allows it to be responsive).
Let me know what you think of these mockups.
Last edited by hannah (2019-04-24 16:00:43)
Offline
Hello
that's nice ; nothing to add about the design
To be sure to completely understand: identification.tpl register.tpl will still be there? This just add a new admin template "safe_login" right?
should we forbid plugins too on that page?
Offline
gorgeous, and I'm partial to dark themes for photo galleries
Offline
flop25 wrote:
To be sure to completely understand: identification.tpl register.tpl will still be there? This just add a new admin template "safe_login" right?
{identification, register, password} template files will still be there.
If I take themes installed on Piwigo.com, several are overriding identification.tpl:
bootstrap_darkroom/template/identification.tpl
bootstrapdefault/template/identification.tpl
simpleng/template/identification.tpl
simple/template/identification.tpl
smartpocket/template/identification.tpl
stripped_responsive/template/identification.tpl
stripped/template/identification.tpl
(quite the same list for register.tpl and password.tpl)
I would like to keep the ability for a theme to override these new default templates. I would also like to strongly encourage theme creators to use the new default templates. For now I see 2 solutions:
1) asking theme creators to remove their {identification, register, password} templates
2) using the default {identification, register, password} templates unless they set a $themeconf['use_default_identification_template'] = false in their themeconf.inc.php file.
flop25 wrote:
should we forbid plugins too on that page?
No, but they may need to be adapted, depending on what they do :-)
Offline
Hmm I thought it was a safe login where at least themes can't mess up the html and css?
Offline