Announcement

  •  » Engine
  •  » A new theme for login/register/forgot your password pages.

#1 2019-04-24 15:55:04

hannah
Member
2019-04-24
3

A new theme for login/register/forgot your password pages.

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.


Uploaded Images

Last edited by hannah (2019-04-24 16:00:43)

Offline

 

#2 2019-04-24 18:06:45

flop25
Piwigo Team
2006-07-06
6948

Re: A new theme for login/register/forgot your password pages.

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?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2019-04-24 20:54:22

executive
Member
2017-08-16
591

Re: A new theme for login/register/forgot your password pages.

gorgeous, and I'm partial to dark themes for photo galleries

Offline

 

#4 2019-04-25 11:27:00

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13196

Re: A new theme for login/register/forgot your password pages.

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

 

#5 2019-04-25 12:15:02

flop25
Piwigo Team
2006-07-06
6948

Re: A new theme for login/register/forgot your password pages.

Hmm I thought it was a safe login where at least themes can't mess up the html and css?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 
  •  » Engine
  •  » A new theme for login/register/forgot your password pages.

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact